Skip to content

Commit 38db93e

Browse files
committed
chore: Fixing pre-delete-webhook template for missing imagePullSecrets
Signed-off-by: Ido Heyvi <[email protected]>
1 parent 59141c4 commit 38db93e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

deployment/network-operator/charts/sriov-network-operator/templates/pre-delete-webooks.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ spec:
1414
template:
1515
spec:
1616
serviceAccountName: {{ include "sriov-network-operator.fullname" . }}
17+
{{- if .Values.imagePullSecrets }}
18+
imagePullSecrets:
19+
{{- range .Values.imagePullSecrets }}
20+
- name: {{ . }}
21+
{{- end }}
22+
{{- end }}
1723
containers:
1824
- name: cleanup
1925
image: {{ .Values.images.operator }}

0 commit comments

Comments
 (0)