updated kubectl_diff_apply.sh

pull/2/head
Hari Sekhon 3 years ago
parent 033de6d046
commit cf3ada25a9

@ -73,7 +73,7 @@ if kubectl diff "$@" <<< "$yaml"; then
fi
echo
read -r -p "Deploy the above changes? (y/N) " answer < /dev/tty
read -r -p "Deploy the above changes? (y/N) " answer < /dev/tty # < $(tty)
shopt -s nocasematch
if [[ ! "$answer" =~ ^y|yes$ ]]; then
echo "Aborting..."

Loading…
Cancel
Save