Skip to content

Commit

Permalink
helm(fix): update cronjobs too
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Sep 14, 2023
1 parent d98a3d6 commit 691e7b4
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-daily-email-notifications
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-index-from-queue
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/sefaria-project/templates/cronjob/metrics.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-metrics
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if eq .Values.backup.mongo.enabled true }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-mongobackup
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-nation-builder-sync
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if eq .Values.backup.postgres.enabled true }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-postgresbackup
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-rambi-update
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-reindex-elastic-search
Expand Down
2 changes: 1 addition & 1 deletion helm-chart/sefaria-project/templates/cronjob/sitemaps.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if .Values.backup.sitemaps.enabled }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-sitemaps
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions helm-chart/sefaria-project/templates/cronjob/trello.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
--
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-trello
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- if ne .Values.sandbox "true" }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ .Values.deployEnv }}-weekly-email-notifications
Expand Down

0 comments on commit 691e7b4

Please sign in to comment.