Skip to content

Commit f33b47d

Browse files
committed
fix: fix environmental variables for OTEL exporter
1 parent 2f6e403 commit f33b47d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

charts/gitops-runtime/templates/_components/cap-app-proxy/environment-variables/_main-container.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,11 @@ CACHE_PASSWORD:
222222
name: gitops-runtime-redis
223223
key: auth
224224
{{ include "codefresh-gitops-runtime.get-proxy-env-vars" . }}
225-
226225
{{- $accountId := .Values.global.codefresh.accountId -}}
227226
{{- $runtimeName := .Values.global.runtime.name -}}
228227
{{- $otelResourceAttributes := printf "service.name=app-proxy,cf.account.id=%s,cf.gitops.runtime.name=%s" $accountId $runtimeName -}}
229228
OTEL_RESOURCE_ATTRIBUTES: {{ $otelResourceAttributes }}
230229
OTEL_EXPORTER_OTLP_HEADERS: "Authorization=Bearer $(RUNTIME_TOKEN)"
231-
232230
{{- end -}}
233231

234232
{{/*

0 commit comments

Comments
 (0)