mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-07 01:17:39 -02:30
Bugfix: return missing deploy command
This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
custom_opts='--ansible-opts=\"-e kargo/custom.yaml\"'
|
|
||||||
nodes=""
|
nodes=""
|
||||||
|
|
||||||
i=0
|
i=0
|
||||||
for nodeip in `cat /root/nodes` ; do
|
for nodeip in `cat /root/nodes` ; do
|
||||||
i=$(( $i+1 ))
|
i=$(( $i+1 ))
|
||||||
@@ -17,6 +15,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Running deployment..."
|
echo "Running deployment..."
|
||||||
|
kargo deploy -y --ansible-opts="-e kargo/custom.yaml"
|
||||||
deploy_res=$?
|
deploy_res=$?
|
||||||
|
|
||||||
if [ "$deploy_res" -eq "0" ]; then
|
if [ "$deploy_res" -eq "0" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user