Last active
May 23, 2019 10:51
-
-
Save miry/95d2b1f37787eb9824cd495269ad7c01 to your computer and use it in GitHub Desktop.
Grant access to the user with email [email protected]. Used in https://jtway.co/kubernetes-auth-google-with-rbac-60a74787e6a5
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: admin-role | |
rules: | |
- apiGroups: ["*"] | |
resources: ["*"] | |
verbs: ["*"] | |
--- | |
kind: ClusterRoleBinding | |
apiVersion: rbac.authorization.k8s.io/v1alpha1 | |
metadata: | |
name: admin-binding | |
subjects: | |
- kind: User | |
name: [email protected] | |
roleRef: | |
kind: ClusterRole | |
name: admin-role |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment