Fix logging deploy: enable Vector env interpolation; operator watches logging ns #301
@@ -6,6 +6,12 @@
|
|||||||
# upstream). Upstream official images are used; no Docker Hardened Image variant
|
# upstream). Upstream official images are used; no Docker Hardened Image variant
|
||||||
# is adopted (DHI is subscription-gated and served from a private org namespace
|
# is adopted (DHI is subscription-gated and served from a private org namespace
|
||||||
# not reachable via the anonymous artifactapi dockerhub proxy).
|
# 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:
|
crdHook:
|
||||||
image:
|
image:
|
||||||
repository: artifactapi.k8s.syd1.au.unkin.net/dockerhub/bitnami/kubectl
|
repository: artifactapi.k8s.syd1.au.unkin.net/dockerhub/bitnami/kubectl
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ tolerations:
|
|||||||
- operator: Exists
|
- operator: Exists
|
||||||
|
|
||||||
env:
|
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
|
- name: NATS_PRODUCER_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@@ -40,6 +40,10 @@ existingConfigMaps:
|
|||||||
|
|
||||||
# The ONLY place ClickHouse + NATS-consumer creds are consumed.
|
# The ONLY place ClickHouse + NATS-consumer creds are consumed.
|
||||||
env:
|
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
|
- name: CLICKHOUSE_USER
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ existingConfigMaps:
|
|||||||
- vector-archiver-config
|
- vector-archiver-config
|
||||||
|
|
||||||
env:
|
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
|
- name: NATS_CONSUMER_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
@@ -20,6 +20,9 @@ existingConfigMaps:
|
|||||||
- vector-vm-ingest-config
|
- vector-vm-ingest-config
|
||||||
|
|
||||||
env:
|
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
|
- name: NATS_PRODUCER_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user