Skip to content

Instantly share code, notes, and snippets.

@otterley
Created April 24, 2020 15:26
Show Gist options
  • Save otterley/576bc43483d12717ff3a189b3b61f32e to your computer and use it in GitHub Desktop.
Save otterley/576bc43483d12717ff3a189b3b61f32e to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.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