From 7ee08f5be6b1f143f6c0980346d03d477d860c25 Mon Sep 17 00:00:00 2001 From: Navratan Lal Gupta Date: Fri, 19 Jul 2024 17:35:33 +0530 Subject: [PATCH] replaces .configuration.repositoryMaintenanceJob.keepLatestJobsCount key with .configuration.repositoryMaintenanceJob.latestJobsCount Signed-off-by: Navratan Lal Gupta --- charts/velero/templates/deployment.yaml | 2 +- charts/velero/values.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/velero/templates/deployment.yaml b/charts/velero/templates/deployment.yaml index c264df29..d78bcb46 100644 --- a/charts/velero/templates/deployment.yaml +++ b/charts/velero/templates/deployment.yaml @@ -183,7 +183,7 @@ spec: - --maintenance-job-mem-limit={{ . }} {{- end }} {{- end }} - - --keep-latest-maintenance-jobs={{ .keepLatestJobsCount }} + - --keep-latest-maintenance-jobs={{ .latestJobsCount }} {{- end }} {{- with .extraArgs }} ### User-supplied overwrite flags diff --git a/charts/velero/values.yaml b/charts/velero/values.yaml index 0120238f..7a9c18ea 100644 --- a/charts/velero/values.yaml +++ b/charts/velero/values.yaml @@ -450,7 +450,7 @@ configuration: # cpu: 1000m # memory: 1024Mi # Number of latest maintenance jobs to keep for each repository - keepLatestJobsCount: 3 + latestJobsCount: 3 # `velero server` default: velero namespace: # additional command-line arguments that will be passed to the `velero server`