Skip to content

Commit

Permalink
[MOSIP-35892] Updated helm charts to add range
Browse files Browse the repository at this point in the history
Signed-off-by: Rakshithb1 <[email protected]>
  • Loading branch information
Rakshithb1 committed Nov 12, 2024
1 parent 2a47768 commit f8bde63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion helm/biosdk-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/biosdk-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ extraEnvVarsCM:

## Secret with extra environment variables
##
extraEnvVarsSecret:
extraEnvVarsSecret: []

## Extra volumes to add to the deployment
##
Expand Down

0 comments on commit f8bde63

Please sign in to comment.