diff --git a/helm/_backend/templates/deployment.yaml b/helm/_backend/templates/deployment.yaml index 0a351479..c0adc6c5 100644 --- a/helm/_backend/templates/deployment.yaml +++ b/helm/_backend/templates/deployment.yaml @@ -19,7 +19,6 @@ spec: {{- include "app.selectorLabels" . | nindent 6 }} template: metadata: - {{- with .Values.podAnnotations }} annotations: {{- $podAnnotations := merge (.Values.podAnnotations | default dict) (.Values.global.vault.podAnnotations | default dict) -}} {{- with $podAnnotations }} @@ -28,7 +27,7 @@ spec: vault.hashicorp.com/role: {{ .Values.global.vault.role }} vault.hashicorp.com/agent-inject-secret-secrets.env: {{ .Values.global.vault.role }}/{{ .Values.global.vault.subPath }} vault.hashicorp.com/agent-inject-template-secrets.env: | - {{- with secret "{{ .Values.global.vault.role }}/{{ .Values.global.vault.subPath }}" -}} + {{`{{ with secret "`}}{{ .Values.global.vault.role }}/{{ .Values.global.vault.subPath }}{{`" -}} export BCEID_OSID="{{ .Data.data.BCEID_OSID }}" export CHES_ID="{{ .Data.data.CHES_ID }}" export CHES_SECRET="{{ .Data.data.CHES_SECRET }}" @@ -41,7 +40,7 @@ spec: export GEOCODER_CLIENT_ID="{{ .Data.data.GEOCODER_CLIENT_ID }}" export SA_PASS="{{ .Data.data.SA_PASS }}" export SA_USER="{{ .Data.data.SA_USER }}" - {{- end }} + {{- end }}`}} labels: {{- include "app.selectorLabels" . | nindent 8 }} spec: @@ -108,4 +107,4 @@ spec: {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 8 }} - {{- end }} + {{- end }} \ No newline at end of file