Open jaitaiwan opened 9 months ago
I was able to reproduce this bug.
I have the same bug
olegpodguyko@MacBook-Air-Oleg stt % helm install --dry-run stt ./helm
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused
olegpodguyko@MacBook-Air-Oleg stt % helm version
version.BuildInfo{Version:"v3.16.3", GitCommit:"cfd07493f46efc9debd9cc1b02a0961186df7fdf", GitTreeState:"dirty", GoVersion:"go1.23.3"}
olegpodguyko@MacBook-Air-Oleg stt %
According to the
helm install
help text:Running the following command:
helm install --dry-run --output yaml test ./mychart
Should allow me to generate yaml of the install without contacting the kubernetes API. Instead I receive the following error:
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version": dial tcp [::1]:8080: connect: connection refused
It has the same issue with
helm install --dry-run=client --output yaml test ./mychart
Output of
helm version
:version.BuildInfo{Version:"v3.15.1", GitCommit:"e211f2aa62992bd72586b395de50979e31231829", GitTreeState:"clean", GoVersion:"go1.22.3"}
Output of
kubectl version
:Irrelevant
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
Irrelevant