github.com/datreeio/datree@v1.9.22-rc/pkg/policy/tests/19/pass/19-pass.yaml (about)

     1  apiVersion: rbac.authorization.k8s.io/v1
     2  kind: Role
     3  metadata:
     4    namespace: default
     5    name: pod-reader
     6  rules:
     7  - apiGroups: [""] # "" indicates the core API group
     8    resources: ["pods"]
     9    verbs: ["get", "watch", "list"]