Skip to content

Commit

Permalink
Merge pull request #1352 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 f5f9c7b + 71e14f9 commit da2572c
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
4 changes: 3 additions & 1 deletion helm/ida-auth/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion helm/ida-auth/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/ida-internal/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion helm/ida-internal/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/ida-otp/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,10 @@ 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
Expand Down
2 changes: 1 addition & 1 deletion helm/ida-otp/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 da2572c

Please sign in to comment.