Skip to content

Commit 6bee346

Browse files
fix(helm): change empty value handling (#1614)
Signed-off-by: Oliver Bähler <[email protected]>
1 parent cb029a1 commit 6bee346

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

charts/capsule/templates/configuration-default.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,11 @@ spec:
1717
validatingWebhookConfigurationName: {{ include "capsule.fullname" . }}-validating-webhook-configuration
1818
forceTenantPrefix: {{ .Values.manager.options.forceTenantPrefix }}
1919
userGroups:
20-
{{- range .Values.manager.options.capsuleUserGroups }}
21-
- {{ . }}
22-
{{- end }}
20+
{{- toYaml .Values.manager.options.capsuleUserGroups | nindent 4 }}
2321
userNames:
24-
{{- range .Values.manager.options.userNames }}
25-
- {{ . }}
26-
{{- end }}
22+
{{- toYaml .Values.manager.options.userNames | nindent 4 }}
2723
ignoreUserWithGroups:
28-
{{- range .Values.manager.options.ignoreUserWithGroups }}
29-
- {{ . }}
30-
{{- end }}
24+
{{- toYaml .Values.manager.options.ignoreUserWithGroups | nindent 4 }}
3125
protectedNamespaceRegex: {{ .Values.manager.options.protectedNamespaceRegex | quote }}
3226
{{- with .Values.manager.options.nodeMetadata }}
3327
nodeMetadata:

0 commit comments

Comments
 (0)