Skip to content

git2consul not importing list in yaml #191

Description

@lokeshp11

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???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions