Skip to content

Commit

Permalink
Merge pull request #1925 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 abed3ce + 757a72d commit a26e85b
Show file tree
Hide file tree
Showing 32 changed files with 65 additions and 33 deletions.
4 changes: 3 additions & 1 deletion helm/regproc-camel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,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/regproc-camel/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/regproc-group1/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: landing-folder
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-group1/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/regproc-group2/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 }}
ports: []
{{- if .Values.resources }}
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-group2/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
4 changes: 3 additions & 1 deletion helm/regproc-group3/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 }}
ports: []
{{- if .Values.resources }}
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-group3/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,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/regproc-group4/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 }}
ports: []
{{- if .Values.resources }}
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-group4/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,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/regproc-group5/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 }}
ports: []
{{- if .Values.resources }}
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-group5/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ extraEnvVarsCM:

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

## Extra volumes to add to the deployment
##
Expand Down
6 changes: 4 additions & 2 deletions helm/regproc-group6/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 }}
ports: []
{{- if .Values.resources }}
Expand All @@ -128,4 +130,4 @@ spec:
{{- end }}
{{- if .Values.sidecars }}
{{- include "common.tplvalues.render" ( dict "value" .Values.sidecars "context" $) | nindent 8 }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/regproc-group6/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,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/regproc-group7/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 }}
ports: []
{{- if .Values.resources }}
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-group7/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,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/regproc-landingzone/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: landing-folder
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-landingzone/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,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/regproc-notifier/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 }}
ports:
- name: spring-service
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-notifier/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/regproc-pktserver/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: landing-folder
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-pktserver/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,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/regproc-reprocess/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,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/regproc-reprocess/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/regproc-salt/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ spec:
{{- end }}
{{- end }}
{{- if .Values.extraEnvVarsSecret }}
{{- range .Values.extraEnvVarsSecret }}
- secretRef:
name: {{ include "common.tplvalues.render" (dict "value" .Values.extraEnvVarsSecret "context" $) }}
name: {{ . }}
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/regproc-salt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,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/regproc-status/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,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/regproc-status/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,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/regproc-trans/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,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/regproc-trans/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,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/regproc-workflow/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 }}
ports:
- name: spring-service
Expand Down
2 changes: 1 addition & 1 deletion helm/regproc-workflow/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ extraEnvVarsCM:

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

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

0 comments on commit a26e85b

Please sign in to comment.