diff --git a/sky/utils/kubernetes/generate_kubeconfig.sh b/sky/utils/kubernetes/generate_kubeconfig.sh index 04ea567d3f2..8923df9c051 100755 --- a/sky/utils/kubernetes/generate_kubeconfig.sh +++ b/sky/utils/kubernetes/generate_kubeconfig.sh @@ -169,7 +169,9 @@ roleRef: kind: Role name: skypilot-system-service-account-role apiGroup: rbac.authorization.k8s.io ---- +EOF +# Apply optional ingress-related roles, but don't make the script fail if it fails +kubectl apply -f - <