Skip to content

Commit 151db79

Browse files
authored
Merge pull request #1222 from AruneshDwivedi/fix/cleanup-hook-image-pull-secrets
fix: pass imagePullSecrets to cleanup job in Helm chart
2 parents c53c473 + 19f3180 commit 151db79

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

charts/k8up/templates/cleanup-hook.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,10 @@ spec:
8282
spec:
8383
restartPolicy: Never
8484
serviceAccountName: cleanup-service-account
85+
{{- with .Values.imagePullSecrets }}
86+
imagePullSecrets:
87+
{{- toYaml . | nindent 8 }}
88+
{{- end }}
8589
securityContext:
8690
{{- toYaml .Values.podSecurityContext | nindent 8 }}
8791
containers:

0 commit comments

Comments
 (0)