Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
fix(deploy): let an operator set CLERUM_PROFILE_UI_URL for channel-reader
Jose Ramirez94661884e77c
diff --git a/deploy/base/channels/channel-reader.yaml b/deploy/base/channels/channel-reader.yamlindex b041f825c..33fffb10e 100644--- a/deploy/base/channels/channel-reader.yaml+++ b/deploy/base/channels/channel-reader.yaml@@ -24,6 +24,18 @@ data:CLERUM_CHANNEL_READER_HANDOFF_PORT: "8099"CLERUM_NAMESPACE: ""CLERUM_POLL_INTERVAL_SECONDS: "2"+ # OPTIONAL. Base URL of the Profile UI. When set, the notice sent to an+ # unverified Slack sender ends with this link so they can find the account+ # they need to link; when unset the notice still sends, just without a link.+ # Deliberately left unset here: this ConfigMap ships to every deployment and+ # the value is per-operator, so a placeholder default would point real users+ # at somebody else's (or their own) machine. Uncomment and set it, or supply+ # it from your overlay -- HCC's per-Host channel-reader Deployment consumes+ # this whole ConfigMap via envFrom (hostReconciler.ts+ # buildChannelReaderDeployment), so any key added here reaches the pod with+ # no controller change. The minikube overlay sets it to the local profile-ui+ # address as a worked example.+ # CLERUM_PROFILE_UI_URL: "https://profile.example.com"# The legacy static `clerum-channel-reader` Deployment that lived here has# been retired in favor of per-Host channel-reader Deployments managed by# HCC (`channel-reader-<host>`). HCC sweeps any lingering copy on startupdiff --git a/deploy/overlays/minikube/configmaps/channel-reader-config.yaml b/deploy/overlays/minikube/configmaps/channel-reader-config.yamlindex aef6295ad..36251ad6e 100644--- a/deploy/overlays/minikube/configmaps/channel-reader-config.yaml+++ b/deploy/overlays/minikube/configmaps/channel-reader-config.yaml@@ -14,3 +14,10 @@ data:CLERUM_ENABLE_RESPONSE_ATTACHMENTS: "true"CLERUM_ATTACHMENT_MAX_COUNT: "3"CLERUM_ATTACHMENT_MAX_BYTES: "52428800"+ # Linked from the notice sent to an unverified Slack sender. Same local+ # profile-ui address control-api already uses for its own links in this+ # overlay (CONTROL_API_DESKTOP_PROFILE_UI_BASE_URL in+ # configmaps/control-api-config.yaml) -- minikube is reached through host+ # port-forwards, so 127.0.0.1 is the address a developer can actually open.+ # Optional everywhere: drop the key and the notice sends without a link.+ CLERUM_PROFILE_UI_URL: "http://127.0.0.1:3001"