Skip to content

Commit

Permalink
fix(cronjob-apis): Updated decprecated cronjob apis (#2529)
Browse files Browse the repository at this point in the history
Co-authored-by: Edward Malinowski <[email protected]>
  • Loading branch information
emalinowski and Edward Malinowski authored Apr 23, 2024
1 parent 5dd762e commit b68908f
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion kube/services/jobs/arborist-rm-expired-access-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: arborist-rm-expired-access
Expand Down
2 changes: 1 addition & 1 deletion kube/services/jobs/covid19-bayes-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# gen3 job run covid19-bayes-cronjob S3_BUCKET <S3_BUCKET>
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: covid19-bayes
Expand Down
2 changes: 1 addition & 1 deletion kube/services/jobs/etl-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: etl
Expand Down
2 changes: 1 addition & 1 deletion kube/services/jobs/fence-visa-update-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: fence-visa-update
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: google-delete-expired-access
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Note: change to batch/v1beta1 once we bump to k8s 1.8
apiVersion: batch/v1beta1
# Note: change to batch/v1 once we bump to k8s 1.8
apiVersion: batch/v1
kind: CronJob
metadata:
name: google-delete-expired-service-account
Expand Down
4 changes: 2 additions & 2 deletions kube/services/jobs/google-init-proxy-groups-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Note: change to batch/v1beta1 once we bump to k8s 1.8
apiVersion: batch/v1beta1
# Note: change to batch/v1 once we bump to k8s 1.8
apiVersion: batch/v1
kind: CronJob
metadata:
name: google-init-proxy-groups
Expand Down
4 changes: 2 additions & 2 deletions kube/services/jobs/google-manage-account-access-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Note: change to batch/v1beta1 once we bump to k8s 1.8
apiVersion: batch/v1beta1
# Note: change to batch/v1 once we bump to k8s 1.8
apiVersion: batch/v1
kind: CronJob
metadata:
name: google-manage-account-access
Expand Down
4 changes: 2 additions & 2 deletions kube/services/jobs/google-manage-keys-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Note: change to batch/v1beta1 once we bump to k8s 1.8
apiVersion: batch/v1beta1
# Note: change to batch/v1 once we bump to k8s 1.8
apiVersion: batch/v1
kind: CronJob
metadata:
name: google-manage-keys
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# Note: change to batch/v1beta1 once we bump to k8s 1.8
apiVersion: batch/v1beta1
# Note: change to batch/v1 once we bump to k8s 1.8
apiVersion: batch/v1
kind: CronJob
metadata:
name: google-verify-bucket-access-group
Expand Down
2 changes: 1 addition & 1 deletion kube/services/jobs/healthcheck-cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: healthcheck
Expand Down
2 changes: 1 addition & 1 deletion kube/services/jobs/s3sync-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#####REQUIRED VARIABLE########
#SOURCE_BUCKET
#TARGET_BUCKET
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: s3sync
Expand Down

0 comments on commit b68908f

Please sign in to comment.