Fixing schedule quotes

This commit is contained in:
Laszlo Fogas
2020-10-14 11:38:37 +02:00
parent 6de2265969
commit 8360d3f492
6 changed files with 31 additions and 17 deletions
+1 -1
View File
@@ -15,4 +15,4 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1
+3 -3
View File
@@ -6,7 +6,7 @@ metadata:
labels:
{{ include "helm-chart.labels" . | nindent 4 }}
spec:
schedule: {{ .Values.schedule }}
schedule: {{ .Values.schedule | quote }}
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
concurrencyPolicy: Forbid
@@ -29,7 +29,7 @@ spec:
command:
- {{ .Values.shell | default "/bin/sh" }}
- -c
- {{ .Values.command | default "echo I'm alive" | quote }}
- {{ .Values.command | quote }}
envFrom:
{{- if .Values.vars }}
- configMapRef:
@@ -45,7 +45,7 @@ spec:
mountPath: {{ .path }}
{{- end }}
resources:
{{ toYaml .Values.resources | nindent 16 }}
{{- toYaml .Values.resources | nindent 16 }}
volumes:
{{- range .Values.volumes }}
- name: {{ .name }}
+4
View File
@@ -2,6 +2,10 @@ image:
repository: debian
tag: stable-slim
schedule: "*/1 * * * *"
command: |
echo "I'm alive"
nameOverride: ""
fullnameOverride: ""