Skip to content

Commit 940d471

Browse files
AD-7718 - CronJob apiVersion update for 1.25+ k8s
1 parent b9518ee commit 940d471

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

helm-tests/template-tests/pd-cronjob.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pingdirectory:
3535
### SECTION:EXPECTED ###
3636

3737
# Validate that expected Cronjob are generated
38-
apiVersion: batch/v1beta1
38+
apiVersion: batch/v1
3939
kind: CronJob
4040
metadata:
4141
name: cronjob-pingdirectory-cronjob

helm-tests/template-tests/utilitySidecar.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ data:
9595
---
9696

9797
# Validate that the cronjob and corresponding RBAC objects are configured correctly
98-
apiVersion: batch/v1beta1
98+
apiVersion: batch/v1
9999
kind: CronJob
100100
metadata:
101101
name: sidecar-pingdirectory-cronjob

0 commit comments

Comments
 (0)