Skip to content

helm install with external-cert-manager-and-issuer-external pods complained secret "gitlab-wildcard-tls-ca" not found

Summary

When I install gitlab via helm following the documentations (https://docs.gitlab.com/charts/installation/tls.html#external-cert-manager-and-issuer-external and https://docs.gitlab.com/charts/charts/globals.html#globalingressconfigurecertmanager) using the external cert-manager and issuer, most pods were complaining MountVolume.SetUp failed for volume "custom-ca-certificates" : secret "gitlab- wildcard-tls-ca" not found error

Steps to reproduce

(Please provide the steps to reproduce the issue)

Configuration used

Here is part of my values.yaml configuration

global:
  hosts:
    domain: xxx.xx
    externalIP: 127.0.0.1
    https: true
  ingress:
    class: nginx
    configureCertmanager: false
    annotations:
      "kubernetes.io/tls-acme": true
      "cert-manager.io/cluster-issuer": letsencrypt

gitlab:
  webservice:
    ingress:
      tls:
        secretName: gitlab-gitlab-tls
  kas:
    ingress:
      tls:
        secretName: gitlab-kas-tls

registry:
  enabled: false
  ingress:
    tls:
      secretName: gitlab-registry-tls

minio:
  ingress:
    tls:
      secretName: gitlab-minio-tls

Current behavior

(What you're experiencing happening)

Expected behavior

(What you're expecting to happen)

Versions

  • Chart: 7.2.1
  • Platform:
    • Self-hosted: kubernetes in docker-desktop
  • Kubernetes: (1.27.2)
    • Client:
    • Server:
  • Helm: (3.12.1)
    • Client:
    • Server:

Relevant logs

屏幕截图_2023-07-31_190252

屏幕截图_2023-07-31_190427

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

Edited by 李一凡