Nova does not work with github.io and googleapis.com Helm repositories
sgrzemski opened this issue · 4 comments
Installation Process
Local machine, macOS Big Sur 11.2.3
Nova Version
Version:2.3.1 Commit:7ea59ea5d19baaa700fdec9438d586ba4039a7d9
Expected Behavior
Nova compares installed versions with latest ones.
Actual Behavior
It does not work for github.io and googleapis.com hosted repos.
Steps to Reproduce
Deploy some charts to your K8s cluster from any github.io Helm repository with Flux and Kustomize.
Additional Context
I0422 12:45:48.788949 2546 chartrepo.go:83] Could not load chart repo https://godaddy.github.io/kubernetes-external-secrets: yaml: line 9: mapping values are not allowed in this context
I0422 12:45:49.025367 2546 chartrepo.go:83] Could not load chart repo https://bloomberg.github.io/solr-operator/charts: yaml: line 9: mapping values are not allowed in this context
I0422 12:45:49.490985 2546 chartrepo.go:83] Could not load chart repo https://redskyops.dev/charts: yaml: line 562: mapping values are not allowed in this context
I0422 12:45:49.675294 2546 chartrepo.go:83] Could not load chart repo https://funkypenguin.github.io/helm-charts: yaml: line 9: mapping values are not allowed in this context
I0422 12:45:49.740848 2546 chartrepo.go:83] Could not load chart repo https://fasterbytes.github.io/charts: yaml: line 9: mapping values are not allowed in this context
I0422 12:45:52.251689 2546 chartrepo.go:83] Could not load chart repo https://logicmonitor.github.com/k8s-helm-charts: yaml: line 9: mapping values are not allowed in this context
I0422 12:45:47.970431 2546 chartrepo.go:83] Could not load chart repo https://kubernetes-charts-incubator.storage.googleapis.com: yaml: unmarshal errors:
line 1: cannot unmarshal !!str `<?xml v...` into helm.ChartReleases
I0422 12:45:47.977293 2546 chartrepo.go:83] Could not load chart repo https://kubernetes-charts-incubator.storage.googleapis.com: yaml: unmarshal errors:
line 1: cannot unmarshal !!str `<?xml v...` into helm.ChartReleases
I0422 12:45:47.992443 2546 chartrepo.go:83] Could not load chart repo https://kubernetes-charts.storage.googleapis.com: yaml: unmarshal errors:
line 1: cannot unmarshal !!str `<?xml v...` into helm.ChartReleases
I0422 12:45:48.185981 2546 chartrepo.go:83] Could not load chart repo https://kubernetes-charts.storage.googleapis.com: yaml: unmarshal errors:
line 1: cannot unmarshal !!str `<?xml v...` into helm.ChartReleases
References
Can you share the exact command that you ran to get the first output?
The second error I am pretty sure is due to the deprecation of the old stable and incubator repositories and can be ignored
Can you share the exact command that you ran to get the first output?
./nova find -v 8 --helm-version=auto
I cannot get versions detected of several helm charts, but they are from public repos and should be accessible for nova.
Ulimit -n 60000
fixes the issue for not getting the versions. This soft is opening so much connections in parallel that it was trimmed with OS limits.