Skip to content

Instantly share code, notes, and snippets.

@KiaArmani
Created February 4, 2019 15:31
Show Gist options
  • Save KiaArmani/cd0b85f3537d6a4ab525327afb6ece4e to your computer and use it in GitHub Desktop.
Save KiaArmani/cd0b85f3537d6a4ab525327afb6ece4e to your computer and use it in GitHub Desktop.
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: gitlab-cluster-admin
subjects:
- kind: ServiceAccount
name: gitlab
namespace: default
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