Skip to content

Instantly share code, notes, and snippets.

View remcohendriks's full-sized avatar

Remco Hendriks remcohendriks

View GitHub Profile
@remcohendriks
remcohendriks / gitlab-runner-crb.yaml
Created September 13, 2020 20:48
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
@remcohendriks
remcohendriks / gitlab-runner-sa.yaml
Created September 13, 2020 20:39
gitlab-runner service account
apiVersion: v1
kind: ServiceAccount
metadata:
name: gitlab-sa
namespace: gitlab-runner
@remcohendriks
remcohendriks / dind.yaml
Created August 29, 2020 15:50
Docker-in-docker service for docker image layer caching with distributed Gitlab build runners.
apiVersion: apps/v1
kind: Deployment
metadata:
name: dind
namespace: gitlab-runner
spec:
selector:
matchLabels:
app: dind
strategy:
@remcohendriks
remcohendriks / values.yaml
Last active March 16, 2023 00:54
Gitlab-runner helm values for arm64
## GitLab Runner Image
##
## By default it's using gitlab/gitlab-runner:alpine-v{VERSION}
## where {VERSION} is taken from Chart.yaml from appVersion field
##
## ref: https://hub.docker.com/r/gitlab/gitlab-runner/tags/
##
# image: gitlab/gitlab-runner:alpine-v11.6.0
## Specify a imagePullPolicy