Last active
May 31, 2021 13:43
-
-
Save geogdog/7c06ba21164a9f8fbcb5018f86462676 to your computer and use it in GitHub Desktop.
This file contains 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: ClusterRole | |
metadata: | |
name: popeye | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- configmaps | |
- deployments | |
- endpoints | |
- namespaces | |
- nodes | |
- persistentvolumes | |
- persistentvolumeclaims | |
- pods | |
- secrets | |
- serviceaccounts | |
- services | |
verbs: | |
- get | |
- list | |
- apiGroups: | |
- apps | |
resources: | |
- daemonsets | |
- deployments | |
- statefulsets | |
- replicasets | |
verbs: | |
- get | |
- list | |
- apiGroups: | |
- rbac.authorization.k8s.io | |
resources: | |
- clusterroles | |
- clusterrolebindings | |
- roles | |
- rolebindings | |
verbs: | |
- get | |
- list | |
- apiGroups: | |
- metrics.k8s.io | |
resources: | |
- pods | |
- nodes | |
verbs: | |
- get | |
- list | |
- apiGroups: | |
- policy | |
resources: | |
- poddisruptionbudgets | |
- podsecuritypolicies | |
verbs: | |
- get | |
- list | |
- apiGroups: | |
- networking.k8s.io | |
resources: | |
- networkpolicies | |
- ingresses | |
verbs: | |
- get | |
- list | |
- apiGroups: | |
- autoscaling | |
resources: | |
- horizontalpodautoscalers | |
verbs: | |
- get | |
- list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment