k8s-samples/CKA_Course/role-pod-reader.yaml

10 lines
191 B
YAML
Raw Normal View History

2022-07-25 02:17:23 +00:00
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
namespace: cka
name: pod-reader
rules:
- apiGroups: [""]
resources: ["pods", "pods/log"]
verbs: ["get", "watch", "list"]