-
Notifications
You must be signed in to change notification settings - Fork 1
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
do not provide kubectl #6
Comments
Okay, it appears kubebuilder bundles kubectl, so gets added when the archive gets extracted. Line 34 in e7b3d3d
I suppose the install script could delete kubectl. |
That'd be great! Just to make sure I am right, this is what I see in my kubectl shim
and quite a few times accidentally I ended up using older version of kubectl because what came from kubebuilder took priority |
I'm wondering if a user doesn't have the kubectl plugin installed, what should happen in that case. This plugin isn't aware of any others which might be installed, so it might be tricky to figure out whether the kubectl binary should be deleted or not. |
Maybe it should then then fail on missing |
It's coming back to me now :-) I made a change to the plugin when kubebuilder v3 was released. kubectl isn't bundled anymore, since v3, so first make sure you have the most recent version of this plugin, and then have v3.x of kubebuilder installed. |
Ah, nice, okay, I will give it a shot ;-) ... Though... I still may need to use older |
Yeah, I'm happy to remove kubectl binaries for version less than 3.x. I'll just add a warning message to the output. |
Cool, it works fine now :). |
Yeah, it was previously installed using an older version of this plugin. |
Okay.... so now I actually am worrying if this didn't break some other functionality 😅...
and now ours test suite is failing
Is it possible to stop adding some tools to shims without removing the actual binaries? |
It seems to be possible, by providing a |
Can you confirm that the latest change #8 is working for you? Thanks |
BTW: Explicitly setting https://github.com/virtualstaticvoid/asdf-kubebuilder/blob/master/shims/kubebuilder#L1-L4 |
This plugin seems to be also providing
kubectl
binary which conflicts with just regularkubectl
plugin.Could we please leave management of kubectl to the other plugin?
The text was updated successfully, but these errors were encountered: