I wonder what am I doing wrong, I appreciate any help.
PS [20191022:192234] > helmfile apply Adding repo stable https://kubernetes-charts.storage.googleapis.com
"stable" has been added to your repositories
Adding repo incubator https://kubernetes-charts-incubator.storage.googleapis.com
"incubator" has been added to your repositories
Updating repo Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "incubator" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete.
Comparing release=kubernetes-dashboard, chart=stable/kubernetes-dashboard
********************
Release was not present in Helm. Diff will show entire contents as new.
********************
...
identified at least one change, exiting with non-zero exit code (detailed-exitcode parameter enabled)
Upgrading release=kubernetes-dashboard, chart=stable/kubernetes-dashboard in ./helmfile.yaml: failed processing release kubernetes-dashboard: helm.exe exited with status 1: Error: failed to download "stable/kubernetes-dashboard" (hint: running `helm repo update` may help)
- name: stable
url: https://kubernetes-charts.storage.googleapis.com
- name: incubator
url: https://kubernetes-charts-incubator.storage.googleapis.com
helmDefaults:
kubeContext: docker-desktop
verify: true
wait: true
timeout: 600
recreatePods: true
force: true
releases:
- name: kubernetes-dashboard
chart: stable/kubernetes-dashboard
namespace: kube-system
values:
- enableSkipLogin: true
@cilerler Hey! I believe this is due to some issue in the chart/the upstream charts registry.
For me this, mostly your config but without verify: true omitted, worked:
repositories:
- name: stable
url: https://kubernetes-charts.storage.googleapis.com
- name: incubator
url: https://kubernetes-charts-incubator.storage.googleapis.com
helmDefaults:
# kubeContext: docker-desktop
# verify: true
wait: true
timeout: 600
recreatePods: true
force: true
releases:
- name: kubernetes-dashboard
chart: stable/kubernetes-dashboard
namespace: kube-system
values:
- enableSkipLogin: true
Could you omit verify: true for problematic regs/charts?
Also in general, running helmfile with debug logs enabled like helmfile --log-level=debug apply helps you to diagnose issue(by helping you to decide if it's helmfile or helm behaving in a unexpected way
Thanks for the detailed reply. Unfortunately, it didn't change anything. I omit the verify:true and the result with debug info is
identified at least one change, exiting with non-zero exit code (detailed-exitcode parameter enabled)
worker 1/1 finished
worker 1/1 started
worker 1/1 finished
worker 1/1 started
Upgrading release=kubernetes-dashboard, chart=stable/kubernetes-dashboard
exec: helm upgrade --install --reset-values kubernetes-dashboard stable/kubernetes-dashboard --version 1.10.0 --verify --wait --timeout 600 --force --recreate-pods --kube-context docker-desktop --namespace kube-system --values C:\Users\ciler\AppData\Local\Temp\values423162478
exec: helm upgrade --install --reset-values kubernetes-dashboard stable/kubernetes-dashboard --version 1.10.0 --verify --wait --timeout 600 --force --recreate-pods --kube-context docker-desktop --namespace kube-system --values C:\Users\ciler\AppData\Local\Temp\values423162478:
worker 1/1 finished
err: release "kubernetes-dashboard" in "helmfile.yaml" failed:
failed processing release kubernetes-dashboard: helm.exe exited with status 1: Error: failed to download "stable/kubernetes-dashboard" (hint: running `helm repo update` may help) in ./helmfile.yaml:
failed processing release kubernetes-dashboard: helm.exe exited with status 1: Error: failed to download "stable/kubernetes-dashboard" (hint: running `helm repo update` may help)
@cilerler Thanks! But would you mind double-checking it once again?
I'm still seeing helmfile calling helm with --verify in your setup:
exec: helm upgrade --install --reset-values kubernetes-dashboard stable/kubernetes-dashboard --version 1.10.0 --verify --wait --timeout 600 --force --recreate-pods --kube-context docker-desktop --namespace kube-system --values C:\Users\ciler\AppData\Local\Temp\values423162478
exec: helm upgrade --install --reset-values kubernetes-dashboard stable/kubernetes-dashboard --version 1.10.0 --verify --wait --timeout 600 --force --recreate-pods --kube-context docker-desktop --namespace kube-system --values C:\Users\ciler\AppData\Local\Temp\values423162478:
which seems to indicate that you still have verify: true somewhere in your config.
I tried again, as you suggested and it worked, thank you very much for the help! 馃
Most helpful comment
I tried again, as you suggested and it worked, thank you very much for the help! 馃