GitLab using Operator

Create GitLab instance using operators

Install GitLab in Kubernetes / c2d-ks1 using GitLab Operator.


Prerequisites

  • TODO How-to CodeReady Containers (CRC) ./howto-crc.md

Installation

GitLab OperatorInstallation | GitLab.

not yet suitable for production

Ingress ( optional )

cert-manager

Via OperatorHub install cert-manager 

1.11.0

https://docs.gitlab.com/operator/installation.html#cluster

Note: links to OperatorHub 

Custom GitLab Runner image

IngressClass

See OperatorHub 

Cluster-wide IngressClass should be created prior to Operator setup, as OLM does not currently support this object type:

apiVersion: networking.k8s.io/v1
kind: IngressClass
metadata:
  # Ensure this value matches `spec.chart.values.global.ingress.class`
  # in the GitLab CR on the next step.
  name: gitlab-nginx
spec:
  controller: k8s.io/ingress-nginx