Fix permissions and kargo custom.yaml

This commit is contained in:
Aleksandr Didenko 2016-06-20 09:13:07 +02:00
parent c81457c617
commit 943edb6dd2
4 changed files with 2 additions and 1 deletions

1
bootstrap-master.sh Normal file → Executable file
View file

@ -15,6 +15,7 @@ sudo pip install kpm
# k8s deploy script and config
sudo sh -c 'cp -a ~vagrant/deploy-k8s.kargo.sh /root/ && chmod 755 /root/deploy-k8s.kargo.sh'
sudo git clone https://github.com/kubespray/kargo /root/kargo
sudo cp -a ~vagrant/custom.yaml /root/kargo/custom.yaml
# SSH keys and config

0
bootstrap-node.sh Normal file → Executable file
View file

2
deploy-k8s.kargo.sh Normal file → Executable file
View file

@ -15,7 +15,7 @@ else
fi
echo "Running deployment..."
kargo deploy -y --ansible-opts="-e kargo/custom.yaml"
kargo deploy -y --ansible-opts="-e @kargo/custom.yaml"
deploy_res=$?
if [ "$deploy_res" -eq "0" ]; then

0
ssh-keygen.sh Normal file → Executable file
View file