Skip to content

Commit cb3aca6

Browse files
committed
Add ttl for syncer job so helm upgrade won't fail because job template is immutable
1 parent fa0c9f5 commit cb3aca6

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

charts/cloudstack-csi/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: cloudstack-csi
33
description: A Helm chart for CloudStack CSI driver
44
type: application
5-
version: 3.0.1
5+
version: 3.0.2
66
appVersion: 3.0.0
77
sources:
88
- https://github.com/cloudstack/cloudstack-csi-driver

charts/cloudstack-csi/templates/syncer-job.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ metadata:
1414
{{- end }}
1515
spec:
1616
backoffLimit: {{ .Values.syncer.backoffLimit }}
17+
ttlSecondsAfterFinished: {{ .Values.syncer.ttlSecondsAfterFinished }}
1718
template:
1819
spec:
1920
securityContext: {{- toYaml .Values.syncer.podSecurityContext | nindent 8 }}

charts/cloudstack-csi/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,7 @@ syncer:
350350

351351
# Job configurations
352352
backoffLimit: 4
353+
ttlSecondsAfterFinished: 60
353354
restartPolicy: Never
354355

355356
# securityContext on the syncer job

0 commit comments

Comments
 (0)