Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/velero/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 1.17.1
kubeVersion: ">=1.16.0-0"
description: A Helm chart for velero
name: velero
version: 11.3.2
version: 11.4.0
home: https://github.com/vmware-tanzu/velero
icon: https://cdn-images-1.medium.com/max/1600/1*-9mb3AKnKdcL_QD3CMnthQ.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/velero/templates/cleanup-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
helm.sh/chart: {{ include "velero.chart" . }}
spec:
backoffLimit: 3
backoffLimit: {{ .Values.cleanUpCRDsJob.backoffLimit }}
template:
metadata:
name: velero-cleanup-crds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ spec:
volumes:
{{- toYaml .Values.kubectl.extraVolumes | nindent 6 }}
{{- end }}
backoffLimit: 3
backoffLimit: {{ .Values.labelNamespaceJob.backoffLimit }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion charts/velero/templates/upgrade-crds/upgrade-crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
backoffLimit: 3
backoffLimit: {{ .Values.upgradeCRDsJob.backoffLimit }}
template:
metadata:
name: velero-upgrade-crds
Expand Down
13 changes: 13 additions & 0 deletions charts/velero/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ namespace:
# pod-security.kubernetes.io/warn: privileged
# pod-security.kubernetes.io/warn-version: latest

labelNamespaceJob:
# Specifies the number of retries before marking the label namespace job as failed.
# See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 3

##
## End of namespace-related settings.
##
Expand Down Expand Up @@ -100,6 +105,9 @@ upgradeJobResources: {}
# cpu: 100m
# memory: 256Mi
upgradeCRDsJob:
# Specifies the number of retries before marking the upgrade CRDs job as failed.
# See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 3
# Extra volumes for the Upgrade CRDs Job. Optional.
extraVolumes: []
# Extra volumeMounts for the Upgrade CRDs Job. Optional.
Expand Down Expand Up @@ -370,6 +378,11 @@ upgradeCRDs: true
# Using this on production systems, especially those that have multiple releases of Velero, will be destructive.
cleanUpCRDs: false

cleanUpCRDsJob:
# Specifies the number of retries before marking the cleanup CRDs job as failed.
# See: https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy
backoffLimit: 3

##
## End of deployment-related settings.
##
Expand Down
Loading