Skip to content

Commit e091754

Browse files
committed
fix: export EKS_CLUSTER_AUTO_NAME so cleanup scripts get the correct cluster name
1 parent 4989b7b commit e091754

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lab/bin/reset-environment

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ fi
4242

4343
rm -f /home/ec2-user/.kube/config
4444
EKS_CLUSTER_AUTO_NAME=${EKS_CLUSTER_AUTO_NAME:-"eks-workshop-auto"}
45+
export EKS_CLUSTER_AUTO_NAME
4546

4647
aws eks update-kubeconfig --name $EKS_CLUSTER_AUTO_NAME --alias eks-workshop-auto 2>/dev/null || true
4748
aws eks update-kubeconfig --name $EKS_CLUSTER_NAME --alias default --user-alias default 2>/dev/null || true

0 commit comments

Comments
 (0)