cka-SVV/podaccessrole.yaml
2021-09-22 10:47:29 +02:00

10 lines
220 B
YAML

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