Skip to content

Commit

Permalink
feat: add config map
Browse files Browse the repository at this point in the history
  • Loading branch information
djtecha committed Nov 16, 2023
1 parent 7c6b4ed commit dd353dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/cronjobs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
1 change: 1 addition & 0 deletions charts/cronjobs/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ apiVersion: v1
kind: ConfigMap
metadata:
name: "{{ include "cronjobs.releaseName" $ }}-{{ $job.name }}"
namespace: {{ $job.namespace }}
data:
config: {{ $job.config }}
{{- end }}

0 comments on commit dd353dd

Please sign in to comment.