File tree Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Expand file tree Collapse file tree 2 files changed +20
-14
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : batch/v1
2+ kind : CronJob
3+ metadata :
4+ name : {{ include "my-cronjob-chart.fullname" . }}
5+ labels :
6+ {{- include "my-cronjob-chart.labels" . | nindent 4 }}
7+ spec :
8+ schedule : " {{ .Values.cronJob.schedule }}"
9+ jobTemplate :
10+ spec :
11+ template :
12+ spec :
13+ containers :
14+ - name : {{ .Chart.Name }}
15+ image : " {{ .Values.cronJob.image.repository }}:{{ .Values.cronJob.image.tag | default .Chart.AppVersion }}"
16+ imagePullPolicy : {{ .Values.cronJob.image.pullPolicy }}
17+ command : {{ toYaml .Values.cronJob.command | nindent 18 }}
18+ restartPolicy : OnFailure
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ server:
99 repository : ghcr.io/codeforphilly/paws-data-pipeline/server
1010 pullPolicy : Always
1111 # Overrides the image tag whose default is the chart appVersion.
12- tag : " 2.61 "
12+ tag : " 2.62 "
1313
1414client :
1515 image :
1616 repository : ghcr.io/codeforphilly/paws-data-pipeline/client
1717 pullPolicy : Always
1818 # Overrides the image tag whose default is the chart appVersion.
19- tag : " 2.61 "
19+ tag : " 2.62 "
2020
2121db :
2222 image :
@@ -105,15 +105,3 @@ tolerations: []
105105
106106affinity : {}
107107
108- jobs :
109- - name : minute-cron
110- concurrencyPolicy : Forbid
111- schedule : " */1 * * * *"
112- image : curlimages/curl
113- imagePullPolicy : IfNotPresent
114- command : ["/bin/bash"]
115-
116- args :
117- - " -c"
118- - " curl http://paws-compose-server:5000/api/internal/test"
119- restartPolicy : OnFailure
You can’t perform that action at this time.
0 commit comments