Created
March 26, 2017 23:06
-
-
Save miry/420660824519636dda4784c5608bfff2 to your computer and use it in GitHub Desktop.
Sample Kubernetes admin role for UI
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
--- | |
kind: ClusterRole | |
apiVersion: rbac.authorization.k8s.io/v1alpha1 | |
metadata: | |
name: kube-system-admin | |
rules: | |
- apiGroups: ["*"] | |
resources: ["*"] | |
verbs: ["*"] | |
--- | |
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1alpha1 | |
metadata: | |
name: kube-system-service-account-role-binding | |
subjects: | |
- kind: ServiceAccount | |
name: default | |
namespace: kube-system | |
roleRef: | |
kind: ClusterRole | |
name: kube-system-admin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment