diff --git a/helm-chart/sefaria-project/templates/cronjob/daily-email-notifications.yaml b/helm-chart/sefaria-project/templates/cronjob/daily-email-notifications.yaml index bbb3851473..02793564ce 100644 --- a/helm-chart/sefaria-project/templates/cronjob/daily-email-notifications.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/daily-email-notifications.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-daily-email-notifications diff --git a/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml b/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml index 9f31e88372..c97b13a6d4 100644 --- a/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/index-from-queue.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-index-from-queue diff --git a/helm-chart/sefaria-project/templates/cronjob/metrics.yaml b/helm-chart/sefaria-project/templates/cronjob/metrics.yaml index 3aada9be90..7c3709c6a8 100644 --- a/helm-chart/sefaria-project/templates/cronjob/metrics.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/metrics.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-metrics diff --git a/helm-chart/sefaria-project/templates/cronjob/mongo-backup.yaml b/helm-chart/sefaria-project/templates/cronjob/mongo-backup.yaml index edb1aa2d46..ba6f6f37d7 100644 --- a/helm-chart/sefaria-project/templates/cronjob/mongo-backup.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/mongo-backup.yaml @@ -1,6 +1,6 @@ {{- if eq .Values.backup.mongo.enabled true }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-mongobackup diff --git a/helm-chart/sefaria-project/templates/cronjob/nation-builder-sync.yaml b/helm-chart/sefaria-project/templates/cronjob/nation-builder-sync.yaml index 21b5d49afb..ced69694ca 100644 --- a/helm-chart/sefaria-project/templates/cronjob/nation-builder-sync.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/nation-builder-sync.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-nation-builder-sync diff --git a/helm-chart/sefaria-project/templates/cronjob/postgres-packup.yaml b/helm-chart/sefaria-project/templates/cronjob/postgres-packup.yaml index b2902ec711..3f8b6a9f58 100644 --- a/helm-chart/sefaria-project/templates/cronjob/postgres-packup.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/postgres-packup.yaml @@ -1,6 +1,6 @@ {{- if eq .Values.backup.postgres.enabled true }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-postgresbackup diff --git a/helm-chart/sefaria-project/templates/cronjob/rambi-webpages-weekly.yaml b/helm-chart/sefaria-project/templates/cronjob/rambi-webpages-weekly.yaml index 0ec00f080e..e0a717690e 100644 --- a/helm-chart/sefaria-project/templates/cronjob/rambi-webpages-weekly.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/rambi-webpages-weekly.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-rambi-update diff --git a/helm-chart/sefaria-project/templates/cronjob/regenerate-long-cached-data.yaml b/helm-chart/sefaria-project/templates/cronjob/regenerate-long-cached-data.yaml index 89a298457a..ba5df698cf 100644 --- a/helm-chart/sefaria-project/templates/cronjob/regenerate-long-cached-data.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/regenerate-long-cached-data.yaml @@ -1,6 +1,6 @@ {{- if and (ne .Values.sandbox "true") ( .Values.cronJobs.regenerate.enabled ) }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-regenerate diff --git a/helm-chart/sefaria-project/templates/cronjob/reindex-elasticsearch.yaml b/helm-chart/sefaria-project/templates/cronjob/reindex-elasticsearch.yaml index a68f443d62..ec017b4ca6 100644 --- a/helm-chart/sefaria-project/templates/cronjob/reindex-elasticsearch.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/reindex-elasticsearch.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-reindex-elastic-search diff --git a/helm-chart/sefaria-project/templates/cronjob/sitemaps.yaml b/helm-chart/sefaria-project/templates/cronjob/sitemaps.yaml index 47a039b815..c279ec87ad 100644 --- a/helm-chart/sefaria-project/templates/cronjob/sitemaps.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/sitemaps.yaml @@ -1,6 +1,6 @@ {{- if .Values.backup.sitemaps.enabled }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-sitemaps diff --git a/helm-chart/sefaria-project/templates/cronjob/topics-indexing.yaml b/helm-chart/sefaria-project/templates/cronjob/topics-indexing.yaml index f717d32d2d..4ade2d3c62 100644 --- a/helm-chart/sefaria-project/templates/cronjob/topics-indexing.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/topics-indexing.yaml @@ -1,7 +1,7 @@ # https://sefaria.slack.com/archives/DNAHQ11V0/p1594892722002100 {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-topics-indexing diff --git a/helm-chart/sefaria-project/templates/cronjob/trello.yaml b/helm-chart/sefaria-project/templates/cronjob/trello.yaml index d381a3748f..a273282a0e 100644 --- a/helm-chart/sefaria-project/templates/cronjob/trello.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/trello.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} ---- -apiVersion: batch/v1beta1 +-- +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-trello diff --git a/helm-chart/sefaria-project/templates/cronjob/weekly-email-notifications.yaml b/helm-chart/sefaria-project/templates/cronjob/weekly-email-notifications.yaml index 726528d5a7..b82bb7d33f 100644 --- a/helm-chart/sefaria-project/templates/cronjob/weekly-email-notifications.yaml +++ b/helm-chart/sefaria-project/templates/cronjob/weekly-email-notifications.yaml @@ -1,6 +1,6 @@ {{- if ne .Values.sandbox "true" }} --- -apiVersion: batch/v1beta1 +apiVersion: batch/v1 kind: CronJob metadata: name: {{ .Values.deployEnv }}-weekly-email-notifications