k8s-samples/CKA_Course/role-pod-reader.yaml
2022-07-24 21:17:23 -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"]