openstack-helm/tools/gen-oslo-openstack-helm
Michał Dulko 9eaa08678c Fix MultiOpt options in gen-oslo-openstack-helm
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
2017-07-04 17:26:06 +02:00
..
Dockerfile Update entrypoint logic to hack tox.ini for config generation 2017-04-07 16:15:45 -05:00
entrypoint.sh Update entrypoint logic to hack tox.ini for config generation 2017-04-07 16:15:45 -05:00
generate.py Fix MultiOpt options in gen-oslo-openstack-helm 2017-07-04 17:26:06 +02:00
Makefile Add config generation script and container to OpenStack-Helm 2017-04-07 16:15:45 -05:00
oslo-config-generator Update entrypoint logic to hack tox.ini for config generation 2017-04-07 16:15:45 -05:00
README.rst Remove trailing whitespaces in rst 2017-06-13 22:39:43 -05:00

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.