From 2420ef7f40d891f6ed4c4c6560251735208c01de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Garriga-Alonso?= Date: Sat, 30 Mar 2024 14:13:08 -0700 Subject: [PATCH] Indent namespaceSelector (https://github.com/kubernetes-sigs/kueue/issues/1903) --- charts/kueue/templates/webhook/webhook.yaml | 4 ++-- hack/update-helm.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/kueue/templates/webhook/webhook.yaml b/charts/kueue/templates/webhook/webhook.yaml index 9255cc8db4..54cdbef013 100644 --- a/charts/kueue/templates/webhook/webhook.yaml +++ b/charts/kueue/templates/webhook/webhook.yaml @@ -178,7 +178,7 @@ webhooks: name: mpod.kb.io namespaceSelector: {{- if and (hasKey $integrationsConfig "podOptions") (hasKey ($integrationsConfig.podOptions) "namespaceSelector") }} - {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 4 -}} + {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 6 -}} {{- else }} matchExpressions: - key: kubernetes.io/metadata.name @@ -480,7 +480,7 @@ webhooks: name: vpod.kb.io namespaceSelector: {{- if and (hasKey $integrationsConfig "podOptions") (hasKey ($integrationsConfig.podOptions) "namespaceSelector") }} - {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 4 -}} + {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 6 -}} {{- else }} matchExpressions: - key: kubernetes.io/metadata.name diff --git a/hack/update-helm.sh b/hack/update-helm.sh index 4ae0aeee3e..9df51beffc 100755 --- a/hack/update-helm.sh +++ b/hack/update-helm.sh @@ -114,7 +114,7 @@ add_webhook_pod_mutate=$( name: mpod.kb.io namespaceSelector: {{- if and (hasKey $integrationsConfig "podOptions") (hasKey ($integrationsConfig.podOptions) "namespaceSelector") }} - {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 4 -}} + {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 6 -}} {{- else }} matchExpressions: - key: kubernetes.io/metadata.name @@ -135,7 +135,7 @@ add_webhook_pod_validate=$( name: vpod.kb.io namespaceSelector: {{- if and (hasKey $integrationsConfig "podOptions") (hasKey ($integrationsConfig.podOptions) "namespaceSelector") }} - {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 4 -}} + {{- toYaml $integrationsConfig.podOptions.namespaceSelector | nindent 6 -}} {{- else }} matchExpressions: - key: kubernetes.io/metadata.name