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

feat(kube-vip)/toBool-helper-for-cp-enable-check #38

Conversation

sergeiwaigant
Copy link
Contributor

I am writing Ansible Roles to setup k3s with different options like metallb and kube-vip.
One can choose then just by enablind certain features in the role to get a single or multo-node k3s cluster up an unning.

When using the helm-chart you have to be very precise to give the cp_enable as a string and if not, the helm install will fail with an error "helm-controller 'error calling eq: invalid type for comparison'"

This PR will handle that case and you will be able to give a string, boolean or integer to set cp_enable.

@sergeiwaigant
Copy link
Contributor Author

@thebsdbox Maybe you want to have a look, approve and merge? :) would appreciate to be able to use that change in my work.

@thebsdbox
Copy link
Contributor

Looking now.

@thebsdbox
Copy link
Contributor

I don’t really know anything about helm, but it appears there is a lot Iinting issue.

@sergeiwaigant
Copy link
Contributor Author

sergeiwaigant commented Jul 6, 2024

I don’t really know anything about helm, but it appears there is a lot Iinting issue.

will go through it and provide fixes accordingly!

@sergeiwaigant
Copy link
Contributor Author

I don’t really know anything about helm, but it appears there is a lot Iinting issue.

stupid mistake... provided a fix, that should work now

@thebsdbox thebsdbox merged commit f9945e9 into kube-vip:main Jul 6, 2024
3 checks passed
@thebsdbox
Copy link
Contributor

Awesome!

@sergeiwaigant sergeiwaigant deleted the feat(kube-vip)/toBool-helper-for-cp-enable-check branch July 6, 2024 19:47
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