From 32df861bac6f815fde9c309002871a0bea80e68a Mon Sep 17 00:00:00 2001 From: VSIVAKALYAN <103260988+VSIVAKALYAN@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:22:26 +0530 Subject: [PATCH] [MOSIP-37815] Added Unique Config as User input (#1017) * [MOSIP-37815] Added Unique Config as Userinput Signed-off-by: VSIVAKALYAN * [MOSIP-37815] Fixed Chart lint Failure Signed-off-by: VSIVAKALYAN * [MOSIP-37815] Updated as per requirement Signed-off-by: VSIVAKALYAN * [MOSIP-37815] Updated values.yaml Signed-off-by: VSIVAKALYAN * [MOSIP-37815] Tested Working as expected Signed-off-by: VSIVAKALYAN * [MOSIP-37815] Signed-off-by: VSIVAKALYAN --------- Signed-off-by: VSIVAKALYAN --- deploy/esignet/install.sh | 4 ++-- helm/esignet/templates/deployment.yaml | 2 ++ helm/esignet/values.yaml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/deploy/esignet/install.sh b/deploy/esignet/install.sh index 25afd1c61..c0e075cfe 100755 --- a/deploy/esignet/install.sh +++ b/deploy/esignet/install.sh @@ -97,9 +97,9 @@ function installing_esignet() { fi done - echo Installing esignet - helm -n $NS install esignet mosip/esignet --version $CHART_VERSION $ENABLE_INSECURE $plugin_option --set metrics.serviceMonitor.enabled=$servicemonitorflag -f values.yaml --wait + helm -n $NS install esignet mosip/esignet --version $CHART_VERSION $ENABLE_INSECURE $plugin_option \ + --set metrics.serviceMonitor.enabled=$servicemonitorflag -f values.yaml --wait kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status diff --git a/helm/esignet/templates/deployment.yaml b/helm/esignet/templates/deployment.yaml index 6abaa3cd8..90a30eb53 100644 --- a/helm/esignet/templates/deployment.yaml +++ b/helm/esignet/templates/deployment.yaml @@ -95,6 +95,8 @@ spec: - name: container_user value: {{ .Values.containerSecurityContext.runAsUser }} {{- if .Values.additionalResources.javaOpts }} + - name: SPRING_KAFKA_CONSUMER_GROUP_ID + value: esignet-consumer-{{ .Release.Namespace }} # Using the namespace dynamically - name: JDK_JAVA_OPTIONS value: {{ .Values.additionalResources.javaOpts }} {{- end }} diff --git a/helm/esignet/values.yaml b/helm/esignet/values.yaml index b2127eaeb..50120fa2a 100644 --- a/helm/esignet/values.yaml +++ b/helm/esignet/values.yaml @@ -240,6 +240,7 @@ updateStrategy: ## - name: FOO ## value: "bar" ## + extraEnvVars: | - name: KEYCLOAK_EXTERNAL_URL valueFrom: