diff --git a/clusters/brusnika-stage/infrastructure/patches/opentelemetry-collector.yaml b/clusters/brusnika-stage/infrastructure/patches/opentelemetry-collector.yaml index d10e2ae..0143c57 100644 --- a/clusters/brusnika-stage/infrastructure/patches/opentelemetry-collector.yaml +++ b/clusters/brusnika-stage/infrastructure/patches/opentelemetry-collector.yaml @@ -42,9 +42,9 @@ spec: vault.hashicorp.com/role: openobserve vault.hashicorp.com/agent-inject-secret-openobserve-basic-auth: secrets/data/vault/apps/openobserve vault.hashicorp.com/agent-inject-template-openobserve-basic-auth: |- - {{- with secret "secrets/data/vault/apps/openobserve" -}} - {{ index .Data.data "OPENOBSERVE_BASIC_AUTH" }} - {{- end -}} + {{ "{{- with secret \"secrets/data/vault/apps/openobserve\" -}}" }} + {{ "{{ index .Data.data \"OPENOBSERVE_BASIC_AUTH\" }}" }} + {{ "{{- end -}}" }} mode: daemonset fullnameOverride: otel-collector tolerations: