diff --git a/charts/common/Chart.yaml b/charts/common/Chart.yaml index ef3da1c..038a8cd 100644 --- a/charts/common/Chart.yaml +++ b/charts/common/Chart.yaml @@ -15,7 +15,7 @@ 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.2.2 +version: 0.2.3 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/common/templates/cronjob.yaml b/charts/common/templates/cronjob.yaml index 9708860..fe63950 100644 --- a/charts/common/templates/cronjob.yaml +++ b/charts/common/templates/cronjob.yaml @@ -50,6 +50,11 @@ spec: - name: {{ $k | quote }} {{- if eq $v.type "kv" }} value: {{ $v.value | quote }} + {{- else if eq $v.type "secret" }} + valueFrom: + secretKeyRef: + name: {{ $v.name | quote }} + key: {{ $v.key | quote }} {{- else if eq $v.type "parameterStore" }} valueFrom: secretKeyRef: