Last active
March 15, 2018 06:44
-
-
Save tanan/c22d0adfc8ef6adc968992e612709acf to your computer and use it in GitHub Desktop.
k8s ClusterRole setting
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
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1 | |
metadata: | |
name: all-reader | |
rules: | |
- apiGroups: | |
- "" | |
resources: | |
- nodes | |
- nodes/proxy | |
- services | |
- endpoints | |
- pods | |
- ingresses | |
verbs: | |
- get | |
- list | |
- watch | |
- apiGroups: | |
- "" | |
resources: | |
- configmaps | |
verbs: | |
- get | |
- apiGroups: | |
- "extensions" | |
resources: | |
- ingresses/status | |
- ingresses | |
verbs: | |
- get | |
- list | |
- watch | |
- nonResourceURLs: | |
- "/metrics" | |
verbs: | |
- get |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment