Skip to content

Commit

Permalink
Merge pull request #841 from Rakshithb1/develop
Browse files Browse the repository at this point in the history
[MOSIP-35892] Updated helm charts to add range
  • Loading branch information
ckm007 authored Oct 28, 2024
2 parents a3c9edb + 589a739 commit 3d86b0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion helm/pmp-reactjs-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
{{- range .Values.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
name: {{ . }}
{{- end }}
{{- end }}
volumeMounts:
- name: nginx-config
Expand Down
2 changes: 1 addition & 1 deletion helm/pmp-reactjs-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ extraEnvVarsCM:

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

## Extra volumes to add to the deployment
##
Expand Down
4 changes: 3 additions & 1 deletion helm/pmp-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
{{- range .Values.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
name: {{ . }}
{{- end }}
{{- end }}
volumeMounts:
- name: ui-config
Expand Down
2 changes: 1 addition & 1 deletion helm/pmp-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ extraEnvVarsCM:

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

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

0 comments on commit 3d86b0f

Please sign in to comment.