Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kubeconfig flag to helmfile #1416

Merged
merged 1 commit into from
Apr 10, 2024
Merged

add kubeconfig flag to helmfile #1416

merged 1 commit into from
Apr 10, 2024

Conversation

ajaykumar4
Copy link
Contributor

when local k8s context is set to different k8s cluster helmfile pick the local context instead of talos context for Task talos:bootstrap

before the change:
image

after the change:
image

when local k8s context is set to different k8s cluster
helmfile pick the local context instead of talos context for
Task talos:bootstrap
@onedr0p onedr0p merged commit 953ff56 into onedr0p:main Apr 10, 2024
1 of 4 checks passed
@onedr0p
Copy link
Owner

onedr0p commented Apr 10, 2024

Thanks!

@ihyoudou
Copy link

Hey - just leaving it in case someone else would have same issue - I noticed that archlinux repo have a pretty old helmfile version (0.159.0-1) that doesn't support --kubeconfig arg, (added in 0.163) which results in failed bootstrap

task: [talos:bootstrap-apps] helmfile --kubeconfig [...]/kubeconfig --file ./apps/helmfile.yaml apply --skip-diff-on-install --suppress-diff
unknown flag: --kubeconfig
task: Failed to run task "talos:bootstrap": exit status 3

My solution was to install helmfile using brew instead

brew install helmfile

@ajaykumar4 ajaykumar4 deleted the patch-2 branch May 3, 2024 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants