mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-19 13:41:44 -03:30
Fix permissions and kargo custom.yaml
This commit is contained in:
parent
c81457c617
commit
943edb6dd2
1
bootstrap-master.sh
Normal file → Executable file
1
bootstrap-master.sh
Normal file → Executable 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
0
bootstrap-node.sh
Normal file → Executable file
2
deploy-k8s.kargo.sh
Normal file → Executable file
2
deploy-k8s.kargo.sh
Normal file → Executable 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
0
ssh-keygen.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user