Skip to content

Commit

Permalink
Merge pull request #396 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 317b964 + 8735a0c commit 5fa83be
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
20 changes: 11 additions & 9 deletions helm/signup-service/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,17 @@ spec:
{{- end }}
envFrom:
{{- if .Values.extraEnvVarsCM }}
{{- range .Values.extraEnvVarsCM }}
- configMapRef:
name: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
{{- end }}
{{- range .Values.extraEnvVarsCM }}
- configMapRef:
name: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
{{- range .Values.extraEnvVarsSecret }}
- secretRef:
name: {{ . }}
{{- end }}
{{- end }}
ports:
- name: spring-service
containerPort: {{ .Values.springServicePort }}
Expand Down
4 changes: 3 additions & 1 deletion helm/signup-ui/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,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

0 comments on commit 5fa83be

Please sign in to comment.