Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed Sep 6, 2024
1 parent 0850bd7 commit 3b07685
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sky/utils/kubernetes/generate_kubeconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ roleRef:
apiGroup: rbac.authorization.k8s.io
EOF
# Apply optional ingress-related roles, but don't make the script fail if it fails
kubectl apply -f - <<EOF || true
---
kubectl apply -f - <<EOF || echo "Failed to apply optional ingress-related roles. Nginx ingress is likely not installed. This is not critical and the script will continue."
# Optional: Role for accessing ingress resources
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down

0 comments on commit 3b07685

Please sign in to comment.