add cluster-api janitor to devstack script

cluster-api-janitor-openstack is a Kubernetes operator that cleans up resources created in OpenStack by the OpenStack Cloud Controller Manager (OCCM) and Cinder CSI plugin for Kubernetes clusters created using the Cluster API OpenStack infrastrucutre provider.

We add this in the devstack script to better replicate our usual production deployment of a management cluster in the development environment

Change-Id: Ie01e5060fb5ee6a12d93e4779043f8d4838291e3
This commit is contained in:
scrungus 2024-03-20 12:40:12 +00:00
parent 18045a7070
commit eadee9a7d9
1 changed files with 10 additions and 0 deletions

View File

@ -255,6 +255,16 @@ helm upgrade cluster-api-addon-provider cluster-api-addon-provider \
--wait \
--timeout 10m
# Install janitor
helm upgrade cluster-api-janitor-openstack cluster-api-janitor-openstack \
--install \
--repo https://stackhpc.github.io/cluster-api-janitor-openstack \
--version $CLUSTER_API_JANITOR_OPENSTACK \
--namespace capi-janitor-system \
--create-namespace \
--wait \
--timeout 10m
pip install python-magnumclient
# Configure OpenStack auth