Created
October 10, 2021 12:00
-
-
Save a-patel/7c2e63f2da4d3a7ea6bc241f5eb9f530 to your computer and use it in GitHub Desktop.
Kubernetes - RBAC - Role
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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