How to get GitLab running on Kubernetes

Installation

Make sure Helm is installed.

> jx ns gitlab --create
> helm repo add gitlab https://charts.gitlab.io/
> helm repo update
> helm install gitlab/gitlab -n gitlab  --timeout 600 -f ./values.yaml

values.yaml

# Minimal settings
global:
  ingress:
    configureCertmanager: false
    class: "nginx"
  hosts:
    domain: <ip>.nip.io
    externalIP: <ip>
# Don't use certmanager, we'll self-sign
certmanager:
  install: false
# Use the `ingress` addon, not our Ingress (can't map 22/80/443)
nginx-ingress:
  enabled: false
# GitLab Runner isn't a big fan of self-signed certificates
gitlab-runner:
  install: false
> kubectl get secret gitlab-gitlab-initial-root-password -ojsonpath='{.data.password}' | base64 --decode ; echo

API

> curl --insecure --header "Private-Token: <token>" https://gitlab.<ip>.nip.io/api/v4/groups