diff --git a/charts/cronjobs/Chart.yaml b/charts/cronjobs/Chart.yaml index b8274b9..4336175 100644 --- a/charts/cronjobs/Chart.yaml +++ b/charts/cronjobs/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: cronjob description: Cluster cronjobs -version: 1.0.13 +version: 1.0.14 keywords: - cron home: "https://github.com/djtecha/helmcharts" diff --git a/charts/cronjobs/templates/configmap.yaml b/charts/cronjobs/templates/configmap.yaml index e96be52..2102df1 100644 --- a/charts/cronjobs/templates/configmap.yaml +++ b/charts/cronjobs/templates/configmap.yaml @@ -6,5 +6,5 @@ metadata: name: "{{ include "cronjobs.releaseName" $ }}-{{ $job.name }}" namespace: {{ $job.namespace }} data: - {{- .job.config | toYaml | nindent 2 }} + {{- $job.configMapData | toYaml | nindent 2 }} {{- end }}