Skip to content

Update Operator to support Mailroom

Gerard Hickey requested to merge 140_support_mailroom into master

Summary

The Operator does not currently capture and deploy Mailroom-related objects from the Helm Charts template.

Acceptance criteria

The Operator can deploy Mailroom if enabled.

GitLab CR that was used for the initial testing

apiVersion: apps.gitlab.com/v1beta1
kind: GitLab
metadata:
  name: ghickey
spec:
  chart:
    #version: "X.Y.Z" # select a version from the CHART_VERSIONS file in the root of this project
    version: 5.1.1
    values:
      gitlab:
        mailroom:
          enabled: true
      global:
        hosts:
          domain: ghickey.k8s-ft.win
        ingress:
          configureCertmanager: true
        appConfig:
          incomingEmail:
            enabled: true
            password:
              secret: gitlab-mailroom-password
              key: password
      certmanager-issuer:
        email: ghickey@gitlab.com

In addition it is necessary to create the Mailroom secret for the deployment to be successful.

kubectl create secret generic gitlab-mailroom-password --from-literal=password=secret_password

Closes #140 (closed)

Edited by Gerard Hickey

Merge request reports