Skip to content

Commit

Permalink
Apply tpl on image name
Browse files Browse the repository at this point in the history
  • Loading branch information
minottic committed Jun 30, 2022
1 parent 25dbbce commit ab73275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cron_chart/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
restartPolicy: {{ .Values.cronjob.restartPolicy }}
containers:
- name: {{ include "helm_chart.fullname" . }}
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
image: {{ tpl .Values.image.repository $ }}:{{ tpl .Values.image.tag $ }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- with .Values.volumeMounts }}
volumeMounts:
Expand Down
2 changes: 1 addition & 1 deletion helm_configs/proposal-sync/development/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cronjob:
restartPolicy: OnFailure
schedule: 30 8 * * 4
schedule: 33 8 * * 4

0 comments on commit ab73275

Please sign in to comment.