@mrjones, have followed your steps and documentation, figuring out the last step as below:
If installing from root, specify path to directory containing chart.yaml
and values.yaml
, getting the error, figuring it out
Error: INSTALLATION FAILED: error evaluating symlink … path_to_helm/helm/internal/third_party/dep/fs/testdata/symlinks/invalid-symlink: lstat /non: no such file or directory
@oyierphil can you share the output of helm version
and the exact command you are using?
It looks like some versions of helm can have issues with symbolic links, but there should not be any symbolic links in this project.
@twier, output of helm version
is as below:
version.BuildInfo{Version:“v3.15.4”, GitCommit:“fa9efb07d9d8debbb4306d72af76a383895aa8c4”, GitTreeState:“clean”, GoVersion:“go1.22.6”}
kubectl version --client: Client Version: v1.31.0, Kustomize Version: v5.4.2
Command used from Production CHT Sync Setup | Community Health Toolkit is helm install cht-sync cht-sync --values values.yaml
Still figuring the error, tried many things but none working so far…
Error: INSTALLATION FAILED: non-absolute URLs should be in form of repo_name/path_to_chart, got: cht-sync
can you try cd deploy/cht_sync
then helm install cht-sync . --values ../../values.yaml
, replacing --values ../../values.yaml
with the relative path to your values file, but running the command from the deploy/cht_sync
directory.
@twier, stil trying to understand the logic, my working directory is /var/community-cdsa-config/cht-sync/deploy/cht_sync, trying thus running
helm install cht-sync /var/community-cdsa-config/cht-sync/deploy/cht_sync/values.yaml
Brings the error
Error: INSTALLATION FAILED: file ‘/var/community-cdsa-config/cht-sync/deploy/cht_sync/values.yaml’ seems to be a YAML file, but expected a gzipped archive
Running, kubectl get pods, brings the error
E0909 18:42:36.654679 1096039 memcache.go:265] “Unhandled Error” err=“couldn’t get current server API group list: Get "http://localhost:8080/api?timeout=32s\”: dial tcp 127.0.0.1:8080: connect: connection refused"
I specified a different host in the values.yaml environment file
@twier and @oyierphil - I’ve moved your discussion into it’s own topic to better track the issue of trying to install CHT sync via helm
. Please use this thread here instead of the old one!
@oyierphil
ok so this error
Error: INSTALLATION FAILED: file ‘/var/community-cdsa-config/cht-sync/deploy/cht_sync/values.yaml’ seems to be a YAML file, but expected a gzipped archive
means that its trying to use the values file as the chart directory. try this (the difference is the . after cht-sync)
helm install cht-sync . /var/community-cdsa-config/cht-sync/deploy/cht_sync/values.yaml
from this directory /var/community-cdsa-config/cht-sync/deploy/cht_sync
If it works, I will update the documentation accordingly.
Then, this error
E0909 18:42:36.654679 1096039 memcache.go:265] “Unhandled Error” err=“couldn’t get current server API group list: Get "http://localhost:8080/api?timeout=32s\”: dial tcp 127.0.0.1:8080: connect: connection refused"
Indicates a problem with your kubeconfig, please double check your kubeconfig, especially authentication details.