istio: helm chart for release version install failed for missing named template in _helpers.tpl partial files
env:
centos: 7.2
istio version: 0.6.0
kubenetes version: v1.9.1
install command:
helm install --debug --dry-run --name istio --namespace istio-system istio-0.6.0/install/kubernetes/helm/istio
problem:
[debug] Created tunnel using local port: '60884'
[debug] SERVER: "127.0.0.1:60884"
[debug] Original chart version: ""
[debug] Key="/var/lib/helm/key.pem", Cert="/var/lib/helm/cert.pem", CA="/var/lib/helm/ca.pem"
[debug] CHART PATH: /root/istio-0.6.0/install/kubernetes/helm/istio
Error: render error in "istio/charts/pilot/templates/serviceaccount.yaml": template: istio/charts/pilot/templates/serviceaccount.yaml:5:20: executing "istio/charts/pilot/templates/serviceaccount.yaml" at <{{template "pilot.se...>: template "pilot.serviceAccountName" not defined
While install from source code, it’s all right:
helm install --debug --dry-run --name istio --namespace istio-system istio/install/kubernetes/helm/istio
[debug] Created tunnel using local port: '46249'
[debug] SERVER: "127.0.0.1:46249"
[debug] Original chart version: ""
[debug] Key="/var/lib/helm/key.pem", Cert="/var/lib/helm/cert.pem", CA="/var/lib/helm/ca.pem"
[debug] CHART PATH: /root/istio/install/kubernetes/helm/istio
NAME: istio
REVISION: 1
RELEASED: Fri Mar 2 02:40:42 2018
CHART: istio-0.6.0
USER-SUPPLIED VALUES:
{}
COMPUTED VALUES:
...
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 20 (16 by maintainers)
Commits related to this issue
- Let's include the helper template files for helm. Fixes https://github.com/istio/istio/issues/3895 — committed to christian-posta/istio by christian-posta 6 years ago
- Let's include the helper template files for helm. Fixes https://github.com/istio/istio/issues/3895 (#4467) Automatic merge from submit-queue. Let's include the helper template files for helm. — committed to istio/istio by christian-posta 6 years ago
- bump src/istio.io/istio Submodule src/istio.io/istio 6b4cb22..7ec666f: > polish oncall instructions (#4532) > move ingress controller test to e2e (#4510) > Python script to generate a service ... — committed to cloudfoundry-attic/istio-release by deleted user 6 years ago
- bump src/istio.io/istio Submodule src/istio.io/istio bee59ba...67d8593: > re-add istioctl unit tests to Makefile (#5205) > use configurable paths for envoy and envoy config locations (#5248) > ... — committed to cloudfoundry-attic/istio-release by deleted user 6 years ago
@sdake The issue is that some partial files for helm chart are missing in release version, while they actually exist in master branch. Have checked the updateVersion.sh, no logic to ignore or remove the partial files like _helpers.tpl. Is there other release script besides updateVersion.sh, I can’t get any from doc.
A patch has merged post 0.6.0 which removes serviceAccountName from most of the code base (including pilot’s serviceaccount). Is there any chance you can try master?
Thanks -steve