Skip to content

Commit

Permalink
fix: aws-eks: pre-destroy set kubectl context (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
fidiego authored Dec 10, 2024
1 parent b6a634b commit 32e6f7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aws-eks/pre-destroy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ echo "[pre-destroy] getting cluster credentials with aws eks update-kubeconfig"
aws eks update-kubeconfig --region $AWS_REGION --name $NUON_INSTALL_ID --alias $NUON_INSTALL_ID || exit 0

echo "[pre-destroy] deleting install namespace"
kubectl config set-context $NUON_INSTALL_ID
kubectl delete namespace $NUON_INSTALL_ID --ignore-not-found=true

0 comments on commit 32e6f7e

Please sign in to comment.