Skip to content

Instantly share code, notes, and snippets.

@p-le
Created September 23, 2020 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save p-le/6dc52cc8146a569d5f9c38833c53500f to your computer and use it in GitHub Desktop.
Save p-le/6dc52cc8146a569d5f9c38833c53500f to your computer and use it in GitHub Desktop.
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: admin
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: admin
namespace: kubernetes-dashboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment