Skip to content

Commit

Permalink
Merge pull request #35 from keephq/feature/tpl4
Browse files Browse the repository at this point in the history
feat: tpl
  • Loading branch information
shahargl authored Sep 3, 2024
2 parents 61051f5 + d9b50f4 commit 6f44c9c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion charts/keep/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions charts/keep/templates/keep-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f44c9c

Please sign in to comment.