Skip to content

Commit

Permalink
feat: secret key
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Aug 19, 2024
1 parent 2522268 commit 7bdd982
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions charts/keep/templates/keep-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,8 @@ spec:
{{- if .secretKeyRef }}
valueFrom:
secretKeyRef:
name: {{ .secretName }}
key: {{ .secretKey }}
{{- else if .configMapKeyRef }}
valueFrom:
configMapKeyRef:
name: {{ .configMapName }}
key: {{ .configMapKey }}
{{- else if .fieldRef }}
valueFrom:
fieldRef:
fieldPath: metadata.namespace
name: {{ .secretKeyRef.secretName }}
key: {{ .secretKeyRef.secretKey }}
{{- else }}
value: {{ .value | quote }}
{{- end }}
Expand Down

0 comments on commit 7bdd982

Please sign in to comment.