Created
October 13, 2017 20:37
-
-
Save mgoodness/15938d0bb77e715de896c833a24cbe9d to your computer and use it in GitHub Desktop.
Minimal RBAC to enable `kubectl top`
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/v1beta1 | |
kind: Role | |
metadata: | |
name: heapster-user | |
rules: | |
- apiGroups: | |
- "" | |
resourceNames: | |
- "http:heapster:" | |
resources: | |
- services/proxy | |
verbs: | |
- get | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: RoleBinding | |
metadata: | |
name: heapster-user | |
roleRef: | |
apiGroup: rbac.authorization.k8s.io | |
kind: Role | |
name: heapster-user | |
subjects: | |
- kind: Group | |
name: AWS-All | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍