File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
charts/gitops-runtime/templates/_components/gitops-operator Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 33{{/* Merge environment variables from calculated, defaults and overwrites */}}
44{{- $defaults := (include "gitops-operator.resources.environment-variables.defaults" . | fromYaml) }}
55{{- $calculated := (include "gitops-operator.resources.environment-variables.calculated" . | fromYaml) }}
6- {{- $argoCdAuth := (include "codefresh-gitops-runtime.argocd-token-auth" . | fromYaml) }}
76{{- $overrides := .Values.env }}
8- {{- $mergedValues := mergeOverwrite $defaults $calculated $argoCdAuth $ overrides }}
7+ {{- $mergedValues := mergeOverwrite $defaults $calculated $overrides }}
98apiVersion : apps/v1
109kind : Deployment
1110metadata :
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ Some environment variables are determined by values provided in other components
33to keep the separation of components as pseudo library charts, they are defined here to be merged when components are generated.
44*/}}
55{{- define "gitops-operator.resources.environment-variables.calculated" }}
6+ {{- include "codefresh-gitops-runtime.argocd-token-auth" . }}
67 {{/* if custom certificates are provided */}}
78 {{- if .Values.global.codefresh.tls.caCerts.secretKeyRef }}
89CF_CA_CERT : {{ printf "/app/config/codefresh-tls/%s" .Values.global.codefresh.tls.caCerts.secretKeyRef.key }}
You can’t perform that action at this time.
0 commit comments