From 6bee346d43f6439fe78f01c11ba002ed38dd4a41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20B=C3=A4hler?= Date: Mon, 25 Aug 2025 13:11:10 +0200 Subject: [PATCH] fix(helm): change empty value handling (#1614) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Oliver Bähler --- charts/capsule/templates/configuration-default.yaml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/charts/capsule/templates/configuration-default.yaml b/charts/capsule/templates/configuration-default.yaml index a07439c2..9a5a6c32 100644 --- a/charts/capsule/templates/configuration-default.yaml +++ b/charts/capsule/templates/configuration-default.yaml @@ -17,17 +17,11 @@ spec: validatingWebhookConfigurationName: {{ include "capsule.fullname" . }}-validating-webhook-configuration forceTenantPrefix: {{ .Values.manager.options.forceTenantPrefix }} userGroups: - {{- range .Values.manager.options.capsuleUserGroups }} - - {{ . }} - {{- end }} + {{- toYaml .Values.manager.options.capsuleUserGroups | nindent 4 }} userNames: - {{- range .Values.manager.options.userNames }} - - {{ . }} - {{- end }} + {{- toYaml .Values.manager.options.userNames | nindent 4 }} ignoreUserWithGroups: - {{- range .Values.manager.options.ignoreUserWithGroups }} - - {{ . }} - {{- end }} + {{- toYaml .Values.manager.options.ignoreUserWithGroups | nindent 4 }} protectedNamespaceRegex: {{ .Values.manager.options.protectedNamespaceRegex | quote }} {{- with .Values.manager.options.nodeMetadata }} nodeMetadata: