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 <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Oct 14, 2018
1 parent 773bd24 commit 78b288d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions chart/stash/templates/cleaner.yaml
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 78b288d

Please sign in to comment.