Skip to content

Commit 9d517ce

Browse files
committed
update backup chart to add history var
1 parent a6826ea commit 9d517ce

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

backup/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.0.0
18+
version: 1.1.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "0.1.0"
24+
appVersion: "0.2.0"

backup/templates/cronJob.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ metadata:
77
{{- include "backup.labels" . | nindent 4 }}
88
spec:
99
schedule: {{ .Values.schedule | quote }}
10+
successfulJobsHistoryLimit: {{ .Values.successfulJobsHistoryLimit }}
1011
jobTemplate:
1112
spec:
1213
template:

backup/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ shellCommand: echo "update your shellCommand to backup && exit 1"
4040

4141
# use the appropriate image containing your backup tool of choice
4242
image: busybox
43+
44+
successfulJobsHistoryLimit: 1

0 commit comments

Comments
 (0)