Fix logging deploy: enable Vector env interpolation; operator watches logging ns #301

Merged
benvin merged 1 commits from benvin/logging-deploy-fixes into main 2026-07-29 00:11:34 +10:00
5 changed files with 19 additions and 0 deletions
@@ -6,6 +6,12 @@
# upstream). Upstream official images are used; no Docker Hardened Image variant
# is adopted (DHI is subscription-gated and served from a private org namespace
# not reachable via the anonymous artifactapi dockerhub proxy).
#
# Watch the logging namespace where the ClickHouseInstallation lives. The chart
# default (watchNamespaces: []) makes the operator watch ONLY its own namespace
# (clickhouse-system), so the logs CHI was never reconciled — set it explicitly.
watchNamespaces:
- logging
crdHook:
image:
repository: artifactapi.k8s.syd1.au.unkin.net/dockerhub/bitnami/kubectl
@@ -23,6 +23,9 @@ tolerations:
- operator: Exists
env:
# Vector 0.57 disables ${VAR} config interpolation by default; auth needs it.
- name: VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION
value: "true"
- name: NATS_PRODUCER_PASSWORD
valueFrom:
secretKeyRef:
@@ -40,6 +40,10 @@ existingConfigMaps:
# The ONLY place ClickHouse + NATS-consumer creds are consumed.
env:
# Vector 0.57 disables ${VAR} config interpolation by default; the pipeline's
# auth (${CLICKHOUSE_*}, ${NATS_CONSUMER_PASSWORD}) needs it enabled.
- name: VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION
value: "true"
- name: CLICKHOUSE_USER
valueFrom:
secretKeyRef:
@@ -20,6 +20,9 @@ existingConfigMaps:
- vector-archiver-config
env:
# Vector 0.57 disables ${VAR} config interpolation by default; auth needs it.
- name: VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION
value: "true"
- name: NATS_CONSUMER_PASSWORD
valueFrom:
secretKeyRef:
@@ -20,6 +20,9 @@ existingConfigMaps:
- vector-vm-ingest-config
env:
# Vector 0.57 disables ${VAR} config interpolation by default; auth needs it.
- name: VECTOR_DANGEROUSLY_ALLOW_ENV_VAR_INTERPOLATION
value: "true"
- name: NATS_PRODUCER_PASSWORD
valueFrom:
secretKeyRef: