9eaa08678c
gen-oslo-openstack-helm generated configuration file templates in incorrect form, causing setting mulitple values in Values.yaml to produce something like: foo=barfoo=baz This commit fixes this in the generator and updates config file templates to generate configs correctly: foo=bar foo=baz Change-Id: Iea661dcf1710987b2e111d7141ba888f01c44a50 Closes-Bug: 1699581 |
||
---|---|---|
.. | ||
Dockerfile | ||
entrypoint.sh | ||
generate.py | ||
Makefile | ||
oslo-config-generator | ||
README.rst |
gen-oslo-openstack-helm
Oslo Config Generator Hack to Generate Helm Configs
Usage
From the tools/gen-oslo-openstack-helm directory run the following commands, adjusting for the OpenStack project and/or branch desired as necessary.
docker build . -t gen-oslo-openstack-helm
PROJECT=heat
sudo rm -rf /tmp/${PROJECT} || true
docker run -it --rm \
-e PROJECT="${PROJECT}" \
-e PROJECT_BRANCH="stable/newton" \
-e PROJECT_REPO=https://git.openstack.org/openstack/${PROJECT}.git \
-v /tmp:/tmp:rw \
gen-oslo-openstack-helm
This container will then drop you into a shell, at the project root with OpenStack-Helm formatted configuration files in the standard locations produced by genconfig for the project.