Skip to content

Commit 2743b3f

Browse files
author
Miguel Varela Ramos
committed
Update kubeconfig on uninstall_aws in uninstall.sh
1 parent 8249cac commit 2743b3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

manager/uninstall.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ function uninstall_gcp() {
3636
function uninstall_aws() {
3737
echo
3838

39+
aws eks --region $CORTEX_REGION update-kubeconfig --name $CORTEX_CLUSTER_NAME >/dev/null
40+
3941
uninstall_prometheus
4042

4143
eksctl delete cluster --wait --name=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION --timeout=$EKSCTL_TIMEOUT

0 commit comments

Comments
 (0)