Hello we are currently facing an issue when using a private repo
We can confirm that the configuration files is being downloaded on the config-server, by accessing the config-server pods. but we can still see a cannot resolve placeholder issue on logs even if the configuration file has a value on the repo.
Also may we know if we need to execute this? if we are using a private repo?
# MOSIP Configuration
## Configuration properties
MOSIP uses Spring CLoud Config Server to read the properties files. So, to use the properties files in this repo, please update the IP addresses, keys and passwords and then point to this repo in spring cloud config in kernel module.
## Config server
Local Config Server Installation Guide
### Overview
MOSIP uses Config Server to read the properties files.
### Download
1. Download Config server jar [config-server](https://mvnrepository.com/artifact/io.mosip.kernel/kernel-config-server)
2. Clone the Mosip config repo [mosip-config](https://github.com/mosip/mosip-config/tree/develop2-v2)
### Run
This file has been truncated. show original
ckm007
October 19, 2023, 5:52am
2
Error says cannot find the label if you see in the first screenshot.
Which branch are we using?
Did we configured config-server to point to the required config branch?
you will find the configurations in config server values.yaml file.
https://github.com/mosip/mosip-infra/blob/master/deployment/v3/mosip/config-server/values.yaml
Config server needs redeployment with proper configuration.
Hi @ckm007 if we forked mosip-config v1.2.0.1-B3. do we still need to add a version?
if we are using a private repo?
ckm007
October 25, 2023, 6:34am
4
yes, version is the branch name you want to point.
And when you forked did you fork all the branches or just master?
ckm007
October 25, 2023, 1:29pm
5
yes. we need to add the value to version.
Can you share the current version of the same?
1 Like
Hi @karlxix
Can you share the current version that @ckm007 has requested from you?
karlxix
October 31, 2023, 10:37am
7
Hi we made it work now, thanks.
1 Like