Pass getLatestAction helm value to the Jenkins instance
This commit is contained in:
parent
5f45777554
commit
545c7b99b3
|
|
@ -51,6 +51,13 @@ spec:
|
||||||
{{- with .Values.jenkins.backup.restoreCommand }}
|
{{- with .Values.jenkins.backup.restoreCommand }}
|
||||||
command: {{ toYaml . | nindent 8 }}
|
command: {{ toYaml . | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.jenkins.backup.getLatestAction }}
|
||||||
|
getLatestAction:
|
||||||
|
exec:
|
||||||
|
{{- with .Values.jenkins.backup.getLatestAction }}
|
||||||
|
command: {{ toYaml . | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
{{- if .Values.jenkins.backup.recoveryOnce }}
|
{{- if .Values.jenkins.backup.recoveryOnce }}
|
||||||
recoveryOnce: {{ .Values.jenkins.backup.recoveryOnce }}
|
recoveryOnce: {{ .Values.jenkins.backup.recoveryOnce }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue