use kubectl apply also to create

parent d6e5dbfd
......@@ -594,10 +594,6 @@ EOF
fi
fi
echo "if ! kubectl get deployment nomad-container-manager-$imageType >& /dev/null ; then"
echo " kubectl create --save-config -f container-manager-deploy-$imageType.yaml"
echo "else"
echo " kubectl apply -f container-manager-deploy-$imageType.yaml"
echo "fi"
echo "kubectl apply -f container-manager-deploy-$imageType.yaml"
echo
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment