diff --git a/createHelmYaml.sh b/createHelmYaml.sh index b104ef0..23b090b 100644 --- a/createHelmYaml.sh +++ b/createHelmYaml.sh @@ -61,7 +61,7 @@ if [[ "$action" == "print" ]]; then createHelmYaml elif [[ "$action" == "deploy" ]] && [[ -n "$KUBECONFIG_DATA" ]]; then kubectl version --kubeconfig=/home/notroot/.kube/config - createHelmYaml | tee | kubectl apply --kubeconfig=/home/notroot/.kube/config --dry-run=client -f - + createHelmYaml | tee | kubectl apply --kubeconfig=/home/notroot/.kube/config --dry-run=client -o yaml -f - elif [[ "$action" == "deploy" ]]; then echo "# no .kube/config set" kubectl version --client=true