Skip to content

Instantly share code, notes, and snippets.

@guygrip
Created May 18, 2022
Embed
What would you like to do?
apiVersion: rbac.authorization.Kubernetes.io/v1
kind: Role
metadata:
namespace: default
name: pod-reader
rules:
- apiGroups: [""] # "" indicates the core API group
resources: ["pods"]
verbs: ["get", "watch", "list"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment