Skip to content

Commit

Permalink
Merge pull request #743 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 c427f6b + 8c4a168 commit 10f6a32
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 9 deletions.
4 changes: 3 additions & 1 deletion helm/prereg-application/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,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/prereg-application/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,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/prereg-batchjob/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,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/prereg-batchjob/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/prereg-booking/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,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/prereg-booking/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,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/prereg-datasync/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,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/prereg-datasync/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ extraEnvVarsCM:

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

## Extra volumes to add to the deployment
##
Expand Down
2 changes: 1 addition & 1 deletion helm/prereg-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ extraEnvVarsCM:

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

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

0 comments on commit 10f6a32

Please sign in to comment.