From dd353dd9e76383f81b1f5669950e62b3cf9c418a Mon Sep 17 00:00:00 2001 From: djtecha Date: Thu, 16 Nov 2023 11:16:55 -0800 Subject: [PATCH] feat: add config map --- charts/cronjobs/Chart.yaml | 2 +- charts/cronjobs/templates/configmap.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/cronjobs/Chart.yaml b/charts/cronjobs/Chart.yaml index 1d8164b..20f66f1 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.6 +version: 1.0.7 keywords: - cron home: "https://github.com/djtecha/helmcharts" diff --git a/charts/cronjobs/templates/configmap.yaml b/charts/cronjobs/templates/configmap.yaml index 862d5f6..9105136 100644 --- a/charts/cronjobs/templates/configmap.yaml +++ b/charts/cronjobs/templates/configmap.yaml @@ -4,6 +4,7 @@ apiVersion: v1 kind: ConfigMap metadata: name: "{{ include "cronjobs.releaseName" $ }}-{{ $job.name }}" + namespace: {{ $job.namespace }} data: config: {{ $job.config }} {{- end }} \ No newline at end of file