Skip to content

Commit

Permalink
[MOSIP-37815] Added Unique Config as Userinput
Browse files Browse the repository at this point in the history
Signed-off-by: VSIVAKALYAN <[email protected]>
  • Loading branch information
VSIVAKALYAN committed Nov 25, 2024
1 parent 1d89a79 commit 4fdc80c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deploy/esignet/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,12 @@ function installing_esignet() {
fi
done

read -p "Enter SPRING_KAFKA_CONSUMER_GROUP_ID: " springkafkaConsumerGroupId

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 springkafkaConsumerGroupId="$springkafkaConsumerGroupId" \
--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
6 changes: 6 additions & 0 deletions helm/esignet/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,18 @@ updateStrategy:
## - name: FOO
## value: "bar"
##

#Other Configurations...

Check failure on line 244 in helm/esignet/values.yaml

View workflow job for this annotation

GitHub Actions / chart-lint-publish / chart-lint-publish

244:2 [comments] missing starting space in comment
springkafkaConsumerGroupId: "" # Placeholder for user input

extraEnvVars: |
- name: KEYCLOAK_EXTERNAL_URL
valueFrom:
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 4fdc80c

Please sign in to comment.