Skip to content

Commit

Permalink
[MOSIP-37815] Updated as per requirement
Browse files Browse the repository at this point in the history
Signed-off-by: VSIVAKALYAN <[email protected]>
  • Loading branch information
VSIVAKALYAN committed Nov 27, 2024
1 parent 0bea85f commit 2f70ee2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/esignet/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ function installing_esignet() {
fi
done

read -p "Enter SPRING_KAFKA_CONSUMER_GROUP_ID: " springkafkaConsumerGroupId
echo Installing eSignet with SPRING_KAFKA_CONSUMER_GROUP_ID="esignet-consumer-$NS"

echo Installing esignet
helm -n $NS install esignet mosip/esignet --version $CHART_VERSION $ENABLE_INSECURE $plugin_option \
--set springkafkaConsumerGroupId="$springkafkaConsumerGroupId" \
--set springkafkaConsumerGroupId="esignet-consumer-$NS" \
--set metrics.serviceMonitor.enabled=$servicemonitorflag -f values.yaml --wait

kubectl -n $NS get deploy -o name | xargs -n1 -t kubectl -n $NS rollout status
Expand Down
2 changes: 2 additions & 0 deletions helm/esignet/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 0 additions & 2 deletions helm/esignet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,6 @@ extraEnvVars: |
configMapKeyRef:
name: keycloak-host
key: keycloak-external-url
- name: SPRING_KAFKA_CONSUMER_GROUP_ID
value: {{ .Values.springkafkaConsumerGroupId | quote }}
- name: MOSIP_ESIGNET_CAPTCHA_SITE_KEY
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit 2f70ee2

Please sign in to comment.