1
0
Fork 0

refactor: rename chart to charts [ci skip]

it is common practice to name the folder charts even though there is only one helm chart
This commit is contained in:
Vojtěch Mareš 2022-06-19 10:57:28 +00:00
parent c1c93296bf
commit d548d67b43
9 changed files with 1 additions and 1 deletions

View file

@ -0,0 +1,28 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: {{ include "wsj-standup.fullname" . }}-job
spec:
schedule: "0 8 * * 1"
jobTemplate:
spec:
backoffLimit: 4
activeDeadlineSeconds: 10
ttlSecondsAfterFinished: 300
template:
spec:
{{- if .Values.image.pullSecretBase64 }}
imagePullSecrets:
- name: {{ include "wsj-standup.fullname" . }}-registry-credentials
{{- end }}
serviceAccountName: {{ include "wsj-standup.serviceAccountName" . }}
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{- toYaml .Values.resources | nindent 14 }}
envFrom:
- configMapRef:
name: {{ include "wsj-standup.fullname" . }}-config
restartPolicy: OnFailure