Open bradenwright opened 4 years ago
FWIW, it does not work on 0.119.0 either
Thanks for reporting. I'm investigating this one.
@bradenwright Unfortunately I can't reproduce this 😢
Would you mind testing it out with v0.118.6, v0.118.7, v0.118.8, and v0.118.9?
Also, could you share me a minimum example helmfile.yaml to reproduce your issue?
@bradenwright Apparently #1312 is the only suspicious PR that affected this behavior, cuz it's the only PR that relates to kubeContext between v0.118.5 and v0.119.1.
But I wondering why this breaks your environment only - double --kube-context
break nothing on my machine 🤔
Same issue here - I'm on 0.140.0
I've tried running tillerless: true & false. Here's some selective output from helmfile --log-level=debug --interactive apply
exec: helm diff upgrade --reset-values --allow-unreleased ingress ../../../../charts/.../ingress --version
0.0.1 --namespace base --values /tmp/helmfile228828248/base-ingress-values-6b67f498ff --values
/tmp/helmfile603195863/base-ingress-values-6959d9fdcd --detailed-exitcode
exec: helm diff upgrade --reset-values --allow-unreleased ingress-services ../../../../charts/.../ingress
--version 0.0.1 --namespace base --values /tmp/helmfile477012298/base-ingress-services-values-7cb68848
--values /tmp/helmfile190123041/base-ingress-services-values-786d4497
exec: helm dependency build ../../../../charts/...
exec: helm diff upgrade --reset-values --allow-unreleased namespace-base ../../../../somepath --version 0.0.1
--values /tmp/helmfile427515318/namespace-base-values-8656
exec: helm dependency build ../../../../charts/.../ingress
exec: helm dependency build ../../../../charts/.../ingress
In total I can't find "--kube-context" anywhere, which is defined in my helmDefaults
.
Anything else I should run to help debug?!
I discovered this while building a new environment on GKE when I got a new mac, previously I was able to work in most places with these defaults:
helmDefaults:
tillerless: {{ .Values | get "tillerless" true }}
kubeContext: {{ .Values.kubeContext }}
verify: false
wait: true
atomic: true
timeout: 300
recreatePods: false
force: false
historyMax: 8
devel: false
cleanupOnFail: false
createNamespace: true
but now, only after removing tillerless: {{ .Values | get "tillerless" true }}
I managed to solve this 🤷♂️
I upgraded from Helmfile v0.118.5 to v0.119.1, and helmfile is no longer picking up on my kubeContext. It says that is doesn't exist but it works fine in 0.11.8.5 and works fine with Helm, and I see it in my kubeContext. I'm trying to set
kubeContext
under releases but for testing I did also try to set it underhelmDefaults
as well.Here's some more details: