Skip to content

Commit

Permalink
Switch cronjob api version for k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
FreedomBen committed Mar 1, 2024
1 parent 28e4da1 commit 67c754c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions k8s/prod/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
#apiVersion: batch/v1 # use this once on on k8s 1.21
apiVersion: batch/v1beta1
apiVersion: batch/v1 # use this once on on k8s 1.21
kind: CronJob
metadata:
name: cloudflare-dns-updater
Expand Down
3 changes: 1 addition & 2 deletions k8s/staging/deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
#apiVersion: batch/v1 # use this once on on k8s 1.21
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cloudflare-dns-updater
Expand Down

0 comments on commit 67c754c

Please sign in to comment.