diff --git a/home/.bin/gs-create-cluster b/home/.bin/gs-create-cluster index 9853c93..6e41d33 100755 --- a/home/.bin/gs-create-cluster +++ b/home/.bin/gs-create-cluster @@ -61,7 +61,7 @@ if [ $? -eq 0 ]; then exit 1 else echo "Cleaning up any old awsclusterroleidentities..." - kubectl get --namespace ${PREFIXED_NAMESPACE} awsclusterroleidentities ${NAME} >/dev/null && kubectl delete --namespace ${PREFIXED_NAMESPACE} awsclusterroleidentities ${NAME} + kubectl delete --namespace ${PREFIXED_NAMESPACE} awsclusterroleidentities ${NAME} 2>/dev/null fi echo "✨ Creating an ${PROVIDER} cluster called '${NAMESPACE}/${NAME}' with release '${RELEASE}'"