Update createHelmYaml.sh
All checks were successful
Build docker container / Build image (push) Successful in 20s
All checks were successful
Build docker container / Build image (push) Successful in 20s
This commit is contained in:
parent
f2d2470212
commit
d04ab60c6e
@ -61,11 +61,11 @@ fi
|
||||
if [[ "$action" == "print" ]]; then
|
||||
createHelmYaml
|
||||
elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
|
||||
kubectl version --kubeconfig=/home/notroot/.kube/config
|
||||
createHelmYaml | kubectl apply --kubeconfig=/home/notroot/.kube/config -f -
|
||||
kubectl version
|
||||
createHelmYaml | kubectl apply -f -
|
||||
elif [[ "$action" == "deploy-dry-run" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then
|
||||
kubectl version --kubeconfig=/home/notroot/.kube/config
|
||||
createHelmYaml | kubectl apply --kubeconfig=/home/notroot/.kube/config --dry-run=client -o yaml -f -
|
||||
kubectl version
|
||||
createHelmYaml | kubectl apply --dry-run=client -o yaml -f -
|
||||
elif [[ "$action" == "deploy" ]]; then
|
||||
echo "# no .kube/config set"
|
||||
kubectl version --client=true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user