Skip to content

Commit

Permalink
[INJIWEB-257]: helm changes for env update (#58)
Browse files Browse the repository at this point in the history
* [INJIWEB-257]: helm changes for env update

Signed-off-by: Vijay <[email protected]>

* [INJIWEB-257]: Updated the configmap.yml

Signed-off-by: Vijay Kumar S <[email protected]>

---------

Signed-off-by: Vijay <[email protected]>
Signed-off-by: Vijay Kumar S <[email protected]>
  • Loading branch information
vijay151096 authored May 8, 2024
1 parent f2c9291 commit 201b312
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
21 changes: 21 additions & 0 deletions helm/inji-web/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,24 @@ data:
}
}
}
{{- if .Values.inji_web.configmaps }}
{{- range $cm_name, $cm_value := .Values.inji_web.configmaps }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ $cm_name }}
namespace: {{ $.Release.Namespace }}
labels: {{- include "common.labels.standard" $ | nindent 8 }}
{{- if $.Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" $.Values.commonLabels "context" $ ) | nindent 8 }}
{{- end }}
{{- if $.Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 8 }}
{{- end }}
data:
{{- range $key, $value := $cm_value }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
{{- end }}
8 changes: 8 additions & 0 deletions helm/inji-web/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ extraEnvVarsCM:
- global
- config-server-share
- artifactory-share
- injiweb-ui
#- softhsm-esignet-share

## Secret with extra environment variables
Expand Down Expand Up @@ -419,7 +420,14 @@ metrics:
inji_web:
inji_web_port: '3004'
inji_web_service_host: 'mimoto.mimoto'
configmaps:
injiweb-ui:
DEFAULT_THEME: ''
DEFAULT_LANG: 'en'
DEFAULT_FEVICON: 'favicon.ico'
DEFAULT_TITLE: 'Inji Web'
esignet_redirect_url: 'esignet.sandbox.xyz.net'

## injiweb UI swagger should have only internal access. Hence linked to internal gateway
## We create a gateway for esignet specific URL(s) listed under `hosts`
istio:
Expand Down

0 comments on commit 201b312

Please sign in to comment.