We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e55eea7 commit 026bcd6Copy full SHA for 026bcd6
1 file changed
deployment-configuration/helm/templates/configmap.yaml
@@ -10,6 +10,13 @@ metadata:
10
data:
11
allvalues.yaml: |
12
{{- $values_copy := deepCopy .Values }}
13
+{{- $registry := get $values_copy "registry" }}
14
+{{- if $registry }}
15
+ {{- $secret := get $registry "secret" }}
16
+ {{- if and (kindIs "map" $secret) (not (empty $secret.value)) }}
17
+ {{- $tmp := set $registry "secret" nil }}
18
+ {{- end }}
19
+{{- end }}
20
{{- range $key, $val := .Values.apps }}
21
{{- $app := get $values_copy.apps $key }}
22
{{- $tmp := set $app.harness "secrets" dict }}
0 commit comments