Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2: helm install failure #4541

Closed
ukclivecox opened this issue Jan 3, 2023 · 4 comments
Closed

v2: helm install failure #4541

ukclivecox opened this issue Jan 3, 2023 · 4 comments
Labels

Comments

@ukclivecox
Copy link
Contributor

ukclivecox commented Jan 3, 2023

Taken from slack conversation fro @amoldavsky

error seen:

❯ helm install seldon-core-v2 seldon-core-v2-setup -n seldon-core-v2
Error: parse error at (seldon-core-v2-setup/templates/seldon-v2-components.yaml:563): unclosed action
@ukclivecox
Copy link
Contributor Author

Tried to replicate but worked with:

Setup Kind and Ecosystem with Ansible scripts

git clone --depth 1 --branch v2.0.0 git@github.com:SeldonIO/seldon-core.git scv2-v2.0.0
cd scv2-v2.0.0
helm install seldon-core-v2-crds  k8s/helm-charts/seldon-core-v2-crds
helm install seldon-core-v2  k8s/helm-charts/seldon-core-v2-setup --namespace seldon-mesh
helm version
version.BuildInfo{Version:"v3.10.1", GitCommit:"9f88ccb6aee40b9a0535fcc7efea6055e1ef72c9", GitTreeState:"clean", GoVersion:"go1.18.7"}

@amoldavsky
Copy link
Contributor

❯ helm version
version.BuildInfo{Version:"v3.4.1", GitCommit:"c4e74854886b2efe3321e185578e6db9be0a6e29", GitTreeState:"dirty", GoVersion:"go1.15.4"}

@amoldavsky
Copy link
Contributor

On my end due to how our cicd projects are setup I have to submodule the seldon-core repo and symlink to each helm chart under another directory in the project. This does not change the essence of the submodule and the error, since it is complaining about a multi line string (within quotes).

steps:

git submodule add https://github.com/SeldonIO/seldon-core.git src                                          ✔  06:53:30 
cd src
git checkout tags/v2.0.0 
cd ..
git submodule update --remote
cd deploy/helm
ln -s ../../src/k8s/helm-charts/seldon-core-v2-crds seldon-core-v2-crds
ln -s ../../src/k8s/helm-charts/seldon-core-v2-setup seldon-core-v2-setup

Now with symlinks:

❯ helm install seldon-core-v2 seldon-core-v2-setup -n seldon-core-v2
Error: parse error at (seldon-core-v2-setup/templates/seldon-v2-components.yaml:723): unclosed action

@RafalSkolasinski
Copy link
Contributor

From Slack discussion, @amoldavsky managed to resolve by upgrading helm to

❯ helm version
version.BuildInfo{Version:"v3.10.3", GitCommit:"835b7334cfe2e5e27870ab3ed4135f136eecc704", GitTreeState:"clean", GoVersion:"go1.19.4"}

The issue is related to the fact that we generated v2 helm charts using kustomize and kustomize is breaking longer lines. Upstream ticket: kubernetes-sigs/kustomize#947

Closing for now as charts work properly with latest helm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants