Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
282 views
in Technique[技术] by (71.8m points)

kubernetes - HELM GITLAB - Use certs secret but without ingress. What flags to use to pass certificates?

How to provide tls ca, cert and key when installing gitlab using helm but without ingress? I have my own ingress and I've added the hosts and paths. But the ingress has SSL_PASSTHROUGH enabled (temporarily). So I need the gitlab to use the wildcard tls certs and ingress would pass the ssl traffic to gitlab host.

I've created the secrets, but documentation shows that the secrets are passed to ingress.. and I have disabled default ingress created by helm (--set nginx-ingress.enabled=false).

  --set gitlab.webservice.ingress.tls.secretName=RELEASE-gitlab-tls 
  --set registry.ingress.tls.secretName=RELEASE-registry-tls 
  --set minio.ingress.tls.secretName=RELEASE-minio-tls

This the command I'm trying right now but need options for tls certs..

helm install gitlab gitlab/gitlab --namespace test-web-dev --set global.edition=ce --set global.hosts.domain=test.com --set tls.enabled=true --set global.smtp.address=postfix.test-internal --set global.smtp.port=25 --set certmanager.install=false --set [email protected] --set certmanager.install=false --set nginx-ingress.enabled=false
question from:https://stackoverflow.com/questions/65652325/helm-gitlab-use-certs-secret-but-without-ingress-what-flags-to-use-to-pass-ce

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...