Merge pull request #506 from emilkostadinov/feature/helm-backuprestore-last-action
Pass getLatestAction Helm value to the Jenkins instance
This commit is contained in:
		
						commit
						bf4bf4ecdd
					
				|  | @ -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