From f8bde63dee24207b6023c31df832b7dd69f39902 Mon Sep 17 00:00:00 2001 From: Rakshith B <79500257+rakshithb1@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:15:42 +0530 Subject: [PATCH] [MOSIP-35892] Updated helm charts to add range Signed-off-by: Rakshithb1 --- helm/biosdk-service/templates/deployment.yaml | 4 +++- helm/biosdk-service/values.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/helm/biosdk-service/templates/deployment.yaml b/helm/biosdk-service/templates/deployment.yaml index 078760d..bd9f96e 100644 --- a/helm/biosdk-service/templates/deployment.yaml +++ b/helm/biosdk-service/templates/deployment.yaml @@ -109,9 +109,11 @@ spec: {{- end }} {{- end }} {{- if .Values.extraEnvVarsSecret }} + {{- range .Values.extraEnvVarsSecret }} - secretRef: - name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }} + name: {{ . }} {{- end }} + {{- end }} ports: - name: spring-service containerPort: {{ .Values.springServicePort }} diff --git a/helm/biosdk-service/values.yaml b/helm/biosdk-service/values.yaml index b438e56..7607f8e 100644 --- a/helm/biosdk-service/values.yaml +++ b/helm/biosdk-service/values.yaml @@ -257,7 +257,7 @@ extraEnvVarsCM: ## Secret with extra environment variables ## -extraEnvVarsSecret: +extraEnvVarsSecret: [] ## Extra volumes to add to the deployment ##