Skip to content

Commit

Permalink
fix kubeconfig generate script
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed Aug 22, 2024
1 parent 1cd2444 commit 0850bd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sky/utils/kubernetes/generate_kubeconfig.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +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 - <<EOF || true
---
# Optional: Role for accessing ingress resources
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 0850bd7

Please sign in to comment.