Fresh install fails
Summary
GitLab helm chart doesn't work out of the box. It fails to execute the template due to some nested reference gitlab.merge.overwriteEmpty
Steps to reproduce
microk8s helm repo add gitlab https://charts.gitlab.io/
microk8s helm repo update
microk8s helm upgrade --install gitlab gitlab/gitlab \
--timeout 600s \
--set global.hosts.domain=example.com \
--set certmanager-issuer.email=me@example.com
This fails to
Error: template: gitlab/charts/gitlab/charts/webservice/templates/service.yaml:2:4: executing "gitlab/charts/gitlab/charts/webservice/templates/service.yaml" at <include "webservice.datamodel.prepare" $>: error calling include: template: gitlab/charts/gitlab/charts/webservice/templates/_datamodel.tpl:25:12: executing "webservice.datamodel.prepare" at <include "gitlab.merge.overwriteEmpty" (dict "dst" $filledValues "src" $values)>: error calling include: template: gitlab/charts/gitlab/charts/webservice/templates/_datamodel.tpl:144:10: executing "gitlab.merge.overwriteEmpty" at <include "gitlab.merge.overwriteEmpty" (dict "dst" (index $.dst $key) "src" (index $.src $key))>: error calling include: rendering template has a nested reference name: gitlab.merge.overwriteEmpty: unable to excute template
Configuration used
No matter the config I try (with minimal parameters) it fails...
(Paste sanitized configuration here)
Current behavior
Fails to execute template due to "nested reference name"
Expected behavior
Deploy correctly or at least fail at certbot
Versions
- Chart: (tagged version | branch | hash
git rev-parse HEAD
) - Platform:
- Cloud: (GKE | AKS | EKS | ?)
- Self-hosted: microk8s
- Kubernetes: (
kubectl version
)- Client:1.15.10
- Server:1.15.10
- Helm: (
helm version
)- Client:3.0.2
- Server:
Relevant logs
➜ ~ microk8s helm3 install gitlab gitlab/gitlab
Error: template: gitlab/charts/gitlab/charts/webservice/templates/service.yaml:2:4: executing "gitlab/charts/gitlab/charts/webservice/templates/service.yaml" at <include "webservice.datamodel.prepare" $>: error calling include: template: gitlab/charts/gitlab/charts/webservice/templates/_datamodel.tpl:25:12: executing "webservice.datamodel.prepare" at <include "gitlab.merge.overwriteEmpty" (dict "dst" $filledValues "src" $values)>: error calling include: template: gitlab/charts/gitlab/charts/webservice/templates/_datamodel.tpl:144:10: executing "gitlab.merge.overwriteEmpty" at <include "gitlab.merge.overwriteEmpty" (dict "dst" (index $.dst $key) "src" (index $.src $key))>: error calling include: rendering template has a nested reference name: gitlab.merge.overwriteEmpty: unable to excute template
Edited by Gauthier CASTRO