Awesome Open Source
Awesome Open Source

Helm chart to install Gitlab

This chart is based on my manifests for manual deployment with lots of improvements.

Some of the features:

  • Fully automated installation of Gitlab.
  • Register and manage Letsencrypt certificates with kube-lego
  • Deploys PostgreSQL, Redis and Minio as part of the setup
  • Deploys fully configured Docker registry with external domain (letsencrypt) and integration with gitlab.
  • Semi-automatic creating of Runner
  • Ability to customize any of the environment variables

Requirements

  • Kubernetes 1.5 (for StatefulSets support).
  • PV support on the underlying infrastructure
  • Helm 2.2.0 (for conditions and flags support)

Quick installation

# add repository (needed for dependencies)
$ helm repo add lwolf-charts http://charts.lwolf.org

# get default values.yaml file
$ curl https://raw.githubusercontent.com/lwolf/gitlab-chart/master/gitlab/values.yaml -o values-test.yaml

# install
$ helm install -f values-test.yaml lwolf-charts/gitlab

# establish DNS
# if running with minikube, add an entry in /etc/hosts to the result of `$ minikube ip`

# Wait until gitlab is up and running.
$ while ! curl --output /dev/null --silent --head --fail https://gitlab.example.com/help; do sleep 1 && echo -n .; done
...................................................

# Open gitlab runner configuration and check that Runner is successfully registered.
# Copy token and run upgrade.
$ helm upgrade -f values-test.yaml --set runner.token=<TOKEN> <install-name> lwolf-charts/gitlab --namespace=gitlab

TODO:

  • [x] splitting registry/runner into separate charts
  • [x] Add support for gitlab pages
  • [x] Upgrade to v9
  • [x] Upgrade to Kubernetes 1.6+
  • [x] more flexible runner configuration
  • [ ] testing/refactoring
  • [ ] monitoring of the whole thing in Prometheus

Support on Beerpay

Hey dude! Help me out for a couple of 🍻!

Beerpay Beerpay



Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Kubernetes (24,711
Chart (13,528
Registry (7,463
Gitlab (5,568
Helm (4,728
Smarty (2,722
Letsencrypt (1,725
Helm Charts (993
Minio (791
Docker Registry (750
Gitlab Ci (688
Gitlab Runner (96