diff --git a/charts/keep/Chart.yaml b/charts/keep/Chart.yaml index 0cf0b6e..831adb8 100644 --- a/charts/keep/Chart.yaml +++ b/charts/keep/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: keep -version: 0.1.7 +version: 0.1.8 description: Keep Helm Chart type: application icon: https://platform.keephq.dev/_next/image?url=%2Fkeep.png&w=48&q=75 diff --git a/charts/keep/templates/keep-backend.yaml b/charts/keep/templates/keep-backend.yaml index 2421cef..d6437a5 100644 --- a/charts/keep/templates/keep-backend.yaml +++ b/charts/keep/templates/keep-backend.yaml @@ -47,13 +47,13 @@ spec: {{- if .secretKeyRef }} valueFrom: secretKeyRef: - name: {{ .secretKeyRef.secretName }} - key: {{ .secretKeyRef.secretKey }} + name: {{ tpl (.secretKeyRef.secretName | toString) $ }} + key: {{ tpl (.secretKeyRef.secretKey | toString) $ }} {{- else if .configMapKeyRef }} valueFrom: configMapKeyRef: - name: {{ .configMapName }} - key: {{ .configMapKey }} + name: {{ tpl (.configMapName | toString) $ }} + key: {{ tpl (.configMapKey | toString) $ }} {{- else if .fieldRef }} valueFrom: fieldRef: