mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
Co-authored-by: Corey White <corey.white@ziffdavis.com> Co-authored-by: luke_schulz <luke.schulz@ziffmedia.com>
15 lines
527 B
YAML
15 lines
527 B
YAML
---
|
|
# mirrord-rbac.yaml
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: Role
|
|
metadata:
|
|
name: mirrord-role
|
|
namespace: default
|
|
rules:
|
|
- apiGroups: [""]
|
|
resources: ["pods", "pods/exec", "pods/portforward", "services", "persistentvolumeclaims"]
|
|
verbs: ["get", "list", "create", "delete", "watch", "update"]
|
|
- apiGroups: ["networking.k8s.io"] # Networking API group (for ingress, networkpolicies, etc.)
|
|
resources: ["ingresses", "networkpolicies"]
|
|
verbs: ["get", "list", "create", "delete", "watch", "update"]
|