openstack-helm/tools/gen-oslo-openstack-helm/README.md
2017-04-10 15:15:06 -05:00

24 lines
703 B
Markdown

# gen-oslo-openstack-helm
Oslo Config Generator Hack to Generate Helm Configs
## Usage
From this directory run the following commands, adjusting for the OpenStack
project and/or branch desired as necessary.
``` bash
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.