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 768848b commit 498d6b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
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.10
version: 1.0.11
keywords:
- cron
home: "https://github.com/djtecha/helmcharts"
Expand Down
3 changes: 2 additions & 1 deletion charts/cronjobs/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ metadata:
name: "{{ include "cronjobs.releaseName" $ }}-{{ $job.name }}"
namespace: {{ $job.namespace }}
data:
company: {{ $job.config.company }}
config: |-
{{ $job.config }}
{{- end }}

0 comments on commit 498d6b0

Please sign in to comment.