We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 541f368 commit ff7593aCopy full SHA for ff7593a
templates/cronjob.yaml
@@ -55,7 +55,7 @@ spec:
55
securityContext: {{ omit .Values.containerSecurityContext "enabled" | toYaml | nindent 16 }}
56
{{- end }}
57
volumeMounts: {{ include "docker-registry.volumeMounts" . | nindent 16 }}
58
- restartPolicy: OnFailure
+ restartPolicy: {{ .Values.garbageCollect.restartPolicy }}
59
{{- if .Values.nodeSelector }}
60
nodeSelector: {{ toYaml .Values.nodeSelector | nindent 12 }}
61
values.yaml
@@ -246,3 +246,4 @@ garbageCollect:
246
deleteUntagged: true
247
schedule: "0 1 * * *"
248
resources: {}
249
+ restartPolicy: OnFailure
0 commit comments