Skip to content

Instantly share code, notes, and snippets.

@remcohendriks
Created September 13, 2020 20:48
Show Gist options
  • Save remcohendriks/b7423c888879af05bb8debb722dd39a3 to your computer and use it in GitHub Desktop.
Save remcohendriks/b7423c888879af05bb8debb722dd39a3 to your computer and use it in GitHub Desktop.
gitlab runner cluster role binding
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: gitlab-admin-role
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: gitlab-sa
namespace: gitlab-runner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment