File tree Expand file tree Collapse file tree 6 files changed +0
-81
lines changed
Expand file tree Collapse file tree 6 files changed +0
-81
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -84,20 +84,6 @@ and base64 encodes the value.
8484{{- end }}
8585{{- end }}
8686
87- {{/*
88- Prints the file contents of the environment secrets file
89- and base64 encodes the value from the key-value pair.
90- */ }}
91- {{- define " helpers.enc-b64-secrets-file" }}
92- {{- range .Files.Lines .Values.env.secretsFilePath }}
93- {{- $kv := splitList " :" . -}}
94- {{- $k := first $kv -}}
95- {{- if and ($k ) (eq (hasPrefix " #" $k ) false) }}
96- {{ $k }}: {{ trim (last $kv ) | b64enc }}
97- {{- end }}
98- {{- end }}
99- {{- end }}
100-
10187{{/*
10288Define helper to conditionally add securityContext to agentWorkerPodTemplate.
10389It does not output anything if agentWorkerPodTemplate is empty and OpenShift is not enabled.
Original file line number Diff line number Diff line change 3434 TFE_METRICS_HTTP_PORT : " {{ .Values.tfe.metrics.httpPort }}"
3535 TFE_METRICS_HTTPS_PORT : " {{ .Values.tfe.metrics.httpsPort }}"
3636 {{- end }}
37- {{- if .Values.env.configFilePath }}
38- {{ .Files.Get .Values.env.configFilePath | indent 2 }}
39- {{- end }}
Original file line number Diff line number Diff line change @@ -50,6 +50,3 @@ metadata:
5050 namespace : {{ .Release.Namespace }}
5151data :
5252{{- include "helpers.list-env-secrets" . | indent 2 }}
53- {{- if .Values.env.secretsFilePath }}
54- {{- include "helpers.enc-b64-secrets-file" . | indent 2 }}
55- {{- end }}
Original file line number Diff line number Diff line change @@ -264,8 +264,6 @@ openshift:
264264 enabled : false
265265
266266env :
267- # configFilePath: env-config.yaml
268- # secretsFilePath: # env-secrets.yaml
269267 # configMapRefs:
270268 # - name:
271269 # secretRefs:
You can’t perform that action at this time.
0 commit comments