hack/loadtest/manifests/test-role.yaml (9 lines of code) (raw):

apiVersion: rbac.authorization.k8s.io/v1 kind: Role metadata: namespace: app name: test-pod-reader rules: - apiGroups: [""] # "" indicates the core API group resources: ["pods"] verbs: ["get", "watch", "list"]