Skip to content

Commit 1ff333f

Browse files
authored
Remove unnecessary code in uninstall.sh (#1393)
1 parent c6a3894 commit 1ff333f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

manager/uninstall.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ set -e
1818

1919
EKSCTL_TIMEOUT=45m
2020

21-
eksctl utils write-kubeconfig --cluster=$CORTEX_CLUSTER_NAME --region=$CORTEX_REGION | grep -v "saved kubeconfig as" | grep -v "using region" | grep -v "eksctl version" || true
22-
23-
# will return "" if there are any errors
24-
function get_operator_endpoint() {
25-
kubectl -n=istio-system get service ingressgateway-operator -o json | tr -d '[:space:]' | sed 's/.*{\"hostname\":\"\(.*\)\".*/\1/'
26-
}
27-
operator_endpoint=$(get_operator_endpoint)
28-
2921
echo
3022

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

0 commit comments

Comments
 (0)