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