Merge pull request #506 from emilkostadinov/feature/helm-backuprestore-last-action

Pass getLatestAction Helm value to the Jenkins instance
This commit is contained in:
SylwiaBrant 2021-02-19 11:28:11 +01:00 committed by GitHub
commit bf4bf4ecdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}