k8s-samples/CKA_Course/rbac/role-pod-reader.yaml
2022-08-16 21:59:58 -05:00

9 lines
191 B
YAML

apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: cka
name: pod-reader
rules:
- apiGroups: [""]
resources: ["pods", "pods/log"]
verbs: ["get", "watch", "list"]