Skip to content

Commit

Permalink
fix incorrect docker secret handling openebs-archive#434
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Jerman <[email protected]>
  • Loading branch information
Steve Jerman committed Nov 1, 2023
1 parent 79beefa commit 9c862e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm/charts/templates/admission-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions deploy/helm/charts/templates/cleanup-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 9c862e0

Please sign in to comment.