Open kronn opened 2 years ago
Related to #804 & #196
Interesting, I wasn't aware that the order matters (though it does make sense and is certainly preferable to full-blown dependency-mangement...).
I will try to change the order in my global .tool-versions
and see if the error persists.
Well, I have stopped using the kubectl
-plugin which removes all the shim-magic and therefore my problem. Turns out that I currently only need one version of kubectl, which I can "manage" by putting it into my PATH.
I could not resolve the problem by ordering the entries in the .tool-versions
, but this may be my error, as I did not spent a lot of time to test thoroughly. A quick test did not resolve it and I realised I do not have any version of kubectl
aside from my system
-version installed.
Should this ticket stay here open as a reminder?
Describe the Bug
Steps to Reproduce
I noticed that the calling kubectl (directly or indirectly through kubectx) broke after I installed
oc 4.8.0
. Uninstallingoc 4.8
fixes the issue.I am however quite un-confident that this is the trigger. kubectl does not have any versions installed through asdf. There is only one version of it in the path that is too old (but needed) to be installable through asdf-kubectl.
Expected Behaviour
Plugins without installed version should not break things
Actual Behaviour
see above "Describe the bug"
Environment
asdf plugins affected (if relevant)
kubectl, kubectx, oc
OR maybe none of the above.