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

fix: persist kubernetes config #505

Merged
merged 3 commits into from
Dec 14, 2022

Conversation

hftsin
Copy link
Contributor

@hftsin hftsin commented Dec 13, 2022

TL; DR

This PR fixes an issue that the traefik component is still launched even it is disabled by default in the colima.yaml config.

Issue Description

On starting colima with kubernetes disabled, the kubernetes config is not persisted to the filesystem of the guest OS. Later we start the kubernetes and it failed to load the kubernetes config. As a side effect, it still launches the traefik component even it is disabled by default.

Solution

  • Persist the kubernetes config to the filesystem of guest OS on starting colima
    - Add traefik to the default disabled component list

abiosoft
abiosoft previously approved these changes Dec 13, 2022
@hftsin
Copy link
Contributor Author

hftsin commented Dec 14, 2022

I want to re-trigger the workflow by force-push since the previous one failed. https://github.com/abiosoft/colima/actions/runs/3686095318

@hftsin hftsin requested a review from abiosoft December 14, 2022 06:16
@hftsin
Copy link
Contributor Author

hftsin commented Dec 14, 2022

I am so sorry that there is still one failing CI check. I have to bother you to trigger it again. @abiosoft

@abiosoft
Copy link
Owner

I am so sorry that there is still one failing CI check. I have to bother you to trigger it again. @abiosoft

no worries, it's fine.

@abiosoft abiosoft merged commit 77a42c6 into abiosoft:main Dec 14, 2022
@hftsin hftsin deleted the fix/app-persist-k8s-config branch December 14, 2022 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants