Skip to content

Commit

Permalink
Fixing pre-delete-webhook template for missing imagePullSecrets
Browse files Browse the repository at this point in the history
Signed-off-by: Ido Heyvi <[email protected]>
  • Loading branch information
heyvister1 committed Nov 24, 2024
1 parent 5fce462 commit 9fd85a2
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ spec:
template:
spec:
serviceAccountName: {{ include "sriov-network-operator.fullname" . }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
- name: {{ . }}
{{- end }}
{{- end }}
containers:
- name: cleanup
image: {{ .Values.images.operator }}
Expand Down

0 comments on commit 9fd85a2

Please sign in to comment.