From 455abec970510d9fb08490fc17e52362682a087d Mon Sep 17 00:00:00 2001 From: Kochetkov S Date: Mon, 15 Jun 2026 13:48:23 +0300 Subject: [PATCH] Escape brusnika-stage otel Vault annotation template --- .../infrastructure/patches/opentelemetry-collector.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: