From 8faaed58c3450c268991236a314fec09ecebe1b4 Mon Sep 17 00:00:00 2001 From: Sachin Gopala Krishna Date: Tue, 7 Feb 2023 00:13:18 -0500 Subject: [PATCH] Update CronJob to use k8s 1.25 supported API version The batch/v1beta1 API version of CronJob is no longer served as of v1.25. Migrate API clients to use the batch/v1 API version instead which is available since 1.21. Test Plan: PASS: Apply oidc-auth-apps and verify that "secret-observer" helm chart is being modified and loaded. PASS: Verify that batch/v1 API version is being used Story: 2010368 Task: 47289 Signed-off-by: Sachin Gopala Krishna Change-Id: I5fdb0699b16f4b94a4bccab20b31b06fe4de952c --- .../helm-charts/secret-observer/templates/cronjob.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/secret-observer/secret-observer/helm-charts/secret-observer/templates/cronjob.yaml b/secret-observer/secret-observer/helm-charts/secret-observer/templates/cronjob.yaml index 14ea39c..b04b5f0 100644 --- a/secret-observer/secret-observer/helm-charts/secret-observer/templates/cronjob.yaml +++ b/secret-observer/secret-observer/helm-charts/secret-observer/templates/cronjob.yaml @@ -6,7 +6,7 @@ # */}} -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: secret-observer-cron-job