cka-SVV/podacessrole.yaml
2020-09-16 11:12:05 +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"]