Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git2consul not importing list in yaml #191

Open
lokesp11 opened this issue Apr 11, 2020 · 1 comment
Open

git2consul not importing list in yaml #191

lokesp11 opened this issue Apr 11, 2020 · 1 comment

Comments

@lokesp11
Copy link

Hello Team,

while running git2consul I am reading yaml file and list mentioned in it is not gettig exported to consul. All other entries are properly updated .

My yaml looks like:
platform:
database:
globalschema: test
tenant:
strategy: test
dbpool:
datasources:
- name: dbPool1
url: ${TEST_DBPOOL1}
username: ${TEST_USER}
password: ${TEST_PASSWORD}
- name: dbPool2
url: ${TEST_DBPOOL2}
username: ${TEST_USER}
password: ${TEST_PASSWORD}
monitoring:
apm:
enabled: false

Everything loaded to consul except dbpool keys mentioned below:
dbpool:
datasources:
- name: dbPool1
url: ${TEST_DBPOOL1}
username: ${TEST_USER}
password: ${TEST_PASSWORD}
- name: dbPool2
url: ${TEST_DBPOOL2}
username: ${TEST_USER}
password: ${TEST_PASSWORD}

My config file looks like:
{
"no_daemon": true,
"version": "1.0",
"repos" : [{
"name": "microservices",
"include_branch_name": false,
"ignore_file_extension": true,
"expand_keys": true,
"expand_keys_diff": true,
"ignore_repo_name": false,
"url": "https://test:test-token@gitrepo/configuration-management/microservices.git",
"branches": [
"master"
]
} ]
}

Can you please suggest whats wrong here???

@AndyFHAF
Copy link

good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants