Pass getLatestAction helm value to the Jenkins instance

This commit is contained in:
Emil Kostadinov 2021-02-01 06:00:48 +02:00
parent 5f45777554
commit 545c7b99b3
1 changed files with 7 additions and 0 deletions

View File

@ -51,6 +51,13 @@ spec:
{{- with .Values.jenkins.backup.restoreCommand }}
command: {{ toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.jenkins.backup.getLatestAction }}
getLatestAction:
exec:
{{- with .Values.jenkins.backup.getLatestAction }}
command: {{ toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- if .Values.jenkins.backup.recoveryOnce }}
recoveryOnce: {{ .Values.jenkins.backup.recoveryOnce }}
{{- end }}