You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deployment-configuration/helm/templates/auto-secrets.yaml
+3-8Lines changed: 3 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -19,33 +19,28 @@ stringData:
19
19
{{- if ne $v "?" }}
20
20
# Update/set value to value in values.yaml if specified
21
21
{{ $k }}: {{ $v | quote }}
22
-
# {{ $k }}-updated: "it's a non empty string"
23
22
{{- else }}
24
23
# Refresh at any deployment for ? (pure random) value
25
-
# {{ $k }}-random: "set to a random string"
26
24
{{ $k }}: {{ randAlphaNum 20 | quote }}
27
25
{{- end }}
28
26
{{- else }}
29
27
# Type not recognized: setting to a empty string"
30
-
{{ $k }}: ""
31
-
#{{ $k }}-formatnotrecognized: {{ typeOf $v }}
28
+
{{ $k }}-formatnotrecognized: {{ $v }}
29
+
{{ $k }}: ""
32
30
{{- end }}
33
31
{{- else if eq (typeOf $secret.data) (typeOf dict) }}
34
32
# Value empty or null in the values.yaml
35
33
{{- if not (hasKey $secret.data $k) }}
36
34
# Create a random secret value if not specified in values.yaml if it is not set and it is not already in the deployed secret (static random secret) */}}
37
-
# {{ $k }}-random-empty: new-random
38
35
{{ $k }}: {{ randAlphaNum 20 | quote }}
39
36
{{- else }}
40
-
# confirm previous value from the secret (static random secret already set, do nothing)
0 commit comments