From a0ed0b7a8253b63e938e892c1993e6dab84cb0a5 Mon Sep 17 00:00:00 2001 From: Srinivas Boga Date: Wed, 22 May 2024 14:15:29 -0700 Subject: [PATCH] batch/v1beta1 is removed since k8s-1.25 Signed-off-by: Srinivas Boga --- client/src/services/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/services/api.ts b/client/src/services/api.ts index 158c756..147db93 100644 --- a/client/src/services/api.ts +++ b/client/src/services/api.ts @@ -29,7 +29,7 @@ const replicaSet = apiFactoryWithNamespace('apps', 'v1', 'replicasets', true); const statefulSet = apiFactoryWithNamespace('apps', 'v1', 'statefulsets', true); const hpa = apiFactoryWithNamespace('autoscaling', 'v1', 'horizontalpodautoscalers', true); -const cronJob = apiFactoryWithNamespace('batch', 'v1beta1', 'cronjobs'); +const cronJob = apiFactoryWithNamespace('batch', 'v1', 'cronjobs'); const job = apiFactoryWithNamespace('batch', 'v1', 'jobs'); const ingress = apiFactoryWithNamespace('networking.k8s.io', 'v1', 'ingresses');