Hello!
For branch v1.2.0.1-B2
I understant that -set flag supersedes the values in values.yaml, but I want to clarify some inconsistencies.
In regclient values.yaml at mosip-infra/deployment/v3/mosip/regclient/values.yaml
image:
registry: docker.io
repository: mosipqa/registration-client
tag: 1.2.0.1
While in mosip-helm chart mosip-helm/blob/v1.2.0.1-B2/charts/regclient/values.yaml
image:
registry: docker.io
repository: mosipid/registration-client
tag: 1.2.0.1-B1
Which image should be used?
In my installation the mosipid/registration-client 1.2.0.1-B1 is the one used as reflected in Rancher, which is the one configured in the mosip-helm chart, since this was not overridden in the install.sh script through a -set flag or the file values.yaml
Another concern is that in mosip-infra/deployment/v3/mosip/regclient/install.sh
–set regclient.upgradeServerUrl=https://$INTERNAL_HOST
–set regclient.healthCheckUrl=$HEALTH_URL
–set regclient.hostName=$INTERNAL_HOST \
While in mosip-helm chart mosip-helm/blob/v1.2.0.1-B2/charts/regclient/values.yaml
regclient:
version: 1.2.0.1-B1
mountDir: /home/mosip/build_files/
/## Currently this is hardcoded. Will change in the future
cryptoKey: bBQX230Wskq6XpoZ1c+Ep1D+znxfT89NxLQ7P4KFkc4=
upgradeServerUrl: https://regclient.sandbox.xzy.net
hostName: https://api-internal.sandbox.mosip.net
…
What should be the correct value for regclient.upgradeServerUrl ?
And what should be the correct values for hostname/regclient.hostName ?
In my case it looks like the set flag did override the value because when you look at the log when running regclient
…
mosip.hostname : api-internal.x.x.x
mosip.client.upgrade.server.url : https://api-internal.x.x.x
…
Which follows what was configured with the -set flag
Please NOTE that in the current setting, I am experiencing errors when running the downloaded regclient after restarting it as instructed during the first successful login.
Warning: ** NO VALID AUTH-TOKEN TO SYNC **
I can’t login with the created credentials in Keycloak, even when using the credentials which was successful in the first login but no longer after restarting the regclient as instructed.