Skip to content

Commit

Permalink
Merge pull request #164 from uselagoon/batchv1_cronjob
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood authored Feb 3, 2023
2 parents fee988f + 3224e77 commit b3d4a88
Show file tree
Hide file tree
Showing 27 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ ENV KUBECTL_VERSION=v1.20.4 \

RUN apk add -U --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing aufs-util \
&& apk add --update openssl curl jq parallel \
&& apk add --no-cache bash git openssh py-pip skopeo \
&& apk add --no-cache bash git openssh-client-common=9.1_p1-r2 openssh=9.1_p1-r2 py-pip skopeo \
&& git config --global user.email "[email protected]" && git config --global user.name lagoon \
&& pip install shyaml yq \
&& curl -Lo /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/basic-persistent/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/basic/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/cli-persistent/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/cli/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/elasticsearch/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/kibana/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/logstash/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/mariadb-single/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/mongodb-single/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/nginx-php/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/nginx/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/node-persistent/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/node/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/opensearch/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/postgres-single/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/python-persistent/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/python/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/rabbitmq/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/redis-persistent/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/redis/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/solr/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/varnish/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/worker-persistent/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down
2 changes: 1 addition & 1 deletion legacy/helmcharts/worker/templates/cronjob.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{- range $cronjobName, $cronjobConfig := .Values.nativeCronjobs }}
---
apiVersion: batch/v1beta1
apiVersion: batch/v1
kind: CronJob
metadata:
name: cronjob-{{ $.Release.Name }}-{{ $cronjobName }}
Expand Down

0 comments on commit b3d4a88

Please sign in to comment.