Skip to content

Instantly share code, notes, and snippets.

@lazypower
Last active May 19, 2017 11:48
Show Gist options
  • Save lazypower/313a55ee753973528c6cbff993644a9b to your computer and use it in GitHub Desktop.
Save lazypower/313a55ee753973528c6cbff993644a9b to your computer and use it in GitHub Desktop.
# This role binding allows "kube-system:default" admin privleged access
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: add-on-cluster-admin
namespace: kube-system
subjects:
- kind: ServiceAccount
name: default
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment