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