A guide to my CRs directory.
The openstack-k8s-operators project provides operators to deploy and manage OpenStack with CRs.
You can generate CRs with install_yamls and then use kustomize to modify them. This directory holds kustomize files for my environment.
control_plane assumes a file like deployment.yaml
has been created by install_yamls like this:
TARGET=$HOME/antelope/crs/control_plane/base/deployment.yaml
pushd ~/install_yamls
DBSERVICE=galera make openstack_deploy_prep
kustomize build out/openstack/openstack/cr > $TARGET
popd
The ceph overlay can be applied as below to add generate a version of configured to work with Ceph.
cd ~/antelope/crs/
kustomize build control_plane/overlay/ceph
data_plane assumes a file like deployment.yaml
in
the base directory and does similar substitutions with it like
control_plane.
I prefer to use my own copy of
edpm-ansible
in my home directory so some of my CR kustomize overlays add an
extraMounts
to follow the pattern described in
Testing ansibleEE with NFS
(notes).
See kustomize helloWorld for a a kustomize example.