[openstack] add initial scripts

This commit is contained in:
Nico Schottelius 2024-01-06 19:29:52 +01:00
parent 8ecb1efd16
commit ece4c00dd0
5 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,7 @@
#!/bin/sh
cd ~/osh/openstack-helm-infra
helm upgrade --install ceph-adapter-rook \
./ceph-adapter-rook/ \
--namespace=rook-ceph \
--values=$HOME/vcs/ungleich-tools/openstack/values/ceph-adapter-rook-ceph.yaml

View File

@ -0,0 +1,7 @@
#!/bin/sh
echo "This script should be sourced for setting env variables, like venv activate"
export OPENSTACK_RELEASE=2023.2
export CONTAINER_DISTRO_NAME=ubuntu
export CONTAINER_DISTRO_VERSION=jammy

15
openstack/init-openstack-env.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
mkdir -p ~/osh
cd ~/osh
if [ ! -d openstack-helm ]; then
git clone https://opendev.org/openstack/openstack-helm.git
else
cd openstack-helm && git pull
fi
if [ ! -d openstack-helm-infa ]; then
git clone https://opendev.org/openstack/openstack-helm-infra.git
else
cd openstack-helm-infra && git pull
fi

0
openstack/setup-openstack-client.sh Normal file → Executable file
View File

View File

@ -0,0 +1,8 @@
manifests:
configmap_bin: true
configmap_templates: true
configmap_etc: false
job_storage_admin_keys: true
job_namespace_client_key: false
job_namespace_client_ceph_config: false
service_mon_discovery: true