Skip to content

Fix helm 2.15 ingress tls nil

Jason Plum requested to merge fix-helm-2.15-ingress-tls-nil into master

Addressing the concerns found by @lukasgr90 in #1653 (closed)

$ helm template gitlab/ --set cert-manager.install=false,global.ingress.configureCertmanager=false

Error: render error in "gitlab/charts/gitlab/charts/task-runner/templates/deployment.yaml": template: gitlab/charts/gitlab/charts/task-runner/templates/deployment.yaml:226:3: executing "gitlab/charts/gitlab/charts/task-runner/templates/deployment.yaml" at <include "gitlab.certificates.volumes" .>: error calling include: template: gitlab/templates/_helpers.tpl:259:60: executing "gitlab.wildcard-self-signed-cert-name" at <.Values.global.ingress.tls.secretName>: nil pointer evaluating interface {}.secretName
Error: UPGRADE FAILED: render error in "gitlab/charts/gitlab/charts/task-runner/templates/deployment.yaml": template: gitlab/charts/gitlab/charts/task-runner/templates/deployment.yaml:226:3: executing "gitlab/charts/gitlab/charts/task-runner/templates/deployment.yaml" at <include "gitlab.certificates.volumes" .>: error calling include: template: gitlab/templates/_helpers.tpl:259:60: executing "gitlab.wildcard-self-signed-cert-name" at <.Values.global.ingress.tls.secretName>: nil pointer evaluating interface {}.secretName

Closes #1672 (closed)

Edited by Jason Plum

Merge request reports