From 7bdd982a2eaf173ab78cf9aca3861ca05123f94b Mon Sep 17 00:00:00 2001 From: shahargl Date: Mon, 19 Aug 2024 14:49:19 +0300 Subject: [PATCH] feat: secret key --- charts/keep/templates/keep-backend.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/charts/keep/templates/keep-backend.yaml b/charts/keep/templates/keep-backend.yaml index f1cfc88..06829eb 100644 --- a/charts/keep/templates/keep-backend.yaml +++ b/charts/keep/templates/keep-backend.yaml @@ -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 }}