diff --git a/createHelmYaml.sh b/createHelmYaml.sh index 411543f..cfc256b 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -62,6 +62,9 @@ if [[ "$action" == "print" ]]; then elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then kubectl version --kubeconfig=/home/notroot/.kube/config createHelmYaml | tee | kubectl apply -v -f - -else +elif [[ "$action" == "deploy" ]]; then + echo "# no .kube/config set" kubectl version --client=true +else + echo "# invalid action" fi