CertManager wasn't deployed with the Operator

Summary

Certificates weren't generated for GitLab instance - cert manager pods weren't deployed when following installation docs.

This issue happened in OpenShift cluster, however it seems that the issue is more wide - @mnielsen experienced this in a different cluster gitlab-org/quality/quality-engineering/team-tasks#749 (comment 1255855507)

Steps to reproduce

  1. Install Operator following Installation guide

Configuration used

apiVersion: apps.gitlab.com/v1beta1
kind: GitLab
metadata:
  name: gitlab
spec:
  chart:
    version: "6.7.3" # 15.7.3
    values:
      certmanager:
        install: true
      certmanager-issuer:
        email: xxx@gitlab.com
....

Current behavior

Certificates weren't generated for the instance. It's possible that some additional guidance needs to be added to installation docs to resolve this.

Expected behavior

CertManager is deployed correctly if it's installed in the cluster. Environment has HTTPs configured when following installation guide.

Versions

  • Operator: 0.15.3
  • Platform:
    • Cloud: Others?
    • Self-hosted: OpenShift
  • Kubernetes: (kubectl version)
    • Client: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.2", GitCommit:"5835544ca568b757a8ecae5c153f317e5736700e", GitTreeState:"clean", BuildDate:"2022-09-21T14:33:49Z", GoVersion:"go1.19.1", Compiler:"gc", Platform:"darwin/arm64"}
    • Server: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.15-gke.2500", GitCommit:"fbf2f97a417bed01195ce67ab3c222d68f06f8b7", GitTreeState:"clean", BuildDate:"2022-10-26T09:24:45Z", GoVersion:"go1.16.15b7", Compiler:"gc", Platform:"linux/amd64"}

Relevant logs

(Please provide any relevant log snippets you have collected, using code blocks (```) to format)

Edited by Nailia Iskhakova