From 9c862e034f4be5a6f64fd85b4a05b1a3a836eed1 Mon Sep 17 00:00:00 2001 From: Steve Jerman Date: Wed, 1 Nov 2023 13:41:44 +0000 Subject: [PATCH] fix incorrect docker secret handling #434 Signed-off-by: Steve Jerman --- deploy/helm/charts/templates/admission-server.yaml | 2 +- deploy/helm/charts/templates/cleanup-webhook.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy/helm/charts/templates/admission-server.yaml b/deploy/helm/charts/templates/admission-server.yaml index 0909c9d7..dd88ef7c 100644 --- a/deploy/helm/charts/templates/admission-server.yaml +++ b/deploy/helm/charts/templates/admission-server.yaml @@ -43,7 +43,7 @@ spec: value: {{ .Values.admissionServer.failurePolicy }} {{- if .Values.imagePullSecrets }} imagePullSecrets: -{{ toYaml .Values.imagePullSecrets | indent 2 }} +{{ toYaml .Values.imagePullSecrets | indent 8 }} {{- end }} {{- if .Values.admissionServer.nodeSelector }} nodeSelector: diff --git a/deploy/helm/charts/templates/cleanup-webhook.yaml b/deploy/helm/charts/templates/cleanup-webhook.yaml index ea1d8698..e50325ef 100644 --- a/deploy/helm/charts/templates/cleanup-webhook.yaml +++ b/deploy/helm/charts/templates/cleanup-webhook.yaml @@ -37,3 +37,7 @@ spec: - > kubectl delete validatingWebhookConfiguration openebs-cstor-validation-webhook || true; restartPolicy: OnFailure +{{- if .Values.imagePullSecrets }} + imagePullSecrets: +{{ toYaml .Values.imagePullSecrets | indent 8 }} +{{- end }} \ No newline at end of file