Skip to content

Commit

Permalink
Pass image pull secrets for cleaner job in chart (#598)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Oct 14, 2018
1 parent 5f59b5b commit 4f2aaca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/stash/templates/cleaner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ spec:
template:
spec:
serviceAccountName: {{ template "stash.serviceAccountName" . }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{ toYaml .Values.imagePullSecrets | indent 6 }}
{{- end }}
containers:
- name: busybox
image: {{ .Values.cleaner.registry }}/{{ .Values.cleaner.repository }}:{{ .Values.cleaner.tag }}
Expand Down

0 comments on commit 4f2aaca

Please sign in to comment.