Genconfig Container entrypoint update, and initial Readme.
This commit is contained in:
parent
edc5b93d66
commit
b82378911e
@ -1,2 +1,20 @@
|
|||||||
# gen-oslo-openstack-helm
|
# gen-oslo-openstack-helm
|
||||||
Oslo Config Generator Hack to Generate Helm Configs
|
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
|
||||||
|
docker run -it --rm \
|
||||||
|
-e PROJECT="heat" \
|
||||||
|
-e PROJECT_BRANCH="stable/newton" \
|
||||||
|
-e PROJECT_REPO=https://git.openstack.org/openstack/heat.git \
|
||||||
|
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.
|
||||||
|
@ -19,3 +19,5 @@ source ${TOX_VENV_DIR}/bin/activate
|
|||||||
python /opt/gen-oslo-openstack-helm/generate.py ${GENCONFIG_FLAGS} \
|
python /opt/gen-oslo-openstack-helm/generate.py ${GENCONFIG_FLAGS} \
|
||||||
--helm_chart ${PROJECT} \
|
--helm_chart ${PROJECT} \
|
||||||
--helm_namespace ${PROJECT}
|
--helm_namespace ${PROJECT}
|
||||||
|
|
||||||
|
bash
|
||||||
|
Loading…
Reference in New Issue
Block a user