Current settings in bootstrap

This commit is contained in:
Moritz Graf
2020-12-26 10:17:43 +01:00
parent 9f4d7f8043
commit 7997d6045b
4 changed files with 11 additions and 6 deletions
+6 -1
View File
@@ -42,8 +42,13 @@ echo "export KUBECONFIG=\"$( pwd )/kubespray/inventory/sample/artifacts/admin.co
echo "######################################################################################"
echo "## Preparing real prod environment"
echo "## * syncing config in kubespray dir"
rsync -a ./inventory/ ./kubespray/inventory/
echo "## * changing into kubespray dir"
cd kubespray
echo "## * execute the following command to force new settings"
echo "ansible-playbook -i inventory/prod/inventory.ini -e upgrade_cluster_setup=true cluster.yml"
# cp -r kubespray/inventory/sample kubespray/inventory/prod
# rm kubespray/inventory/prod/inventory.ini
# cp ./prod.ini kubespray/inventory/prod/inventory.ini