Open r0bj opened 4 weeks ago
That's weird. I assumed client auth plugins (exec and oidc) no longer need to be imported in plugins. I suspect you'll hit this in many other kubectl plugins (beware).
I can fix it, it's fairly easy to.
It’s interesting because I use other kubectl plugins like kubectl-foreach and kubectx, and they work perfectly fine with my kubeconfig setup. This issue seems isolated to the kubectl-pods_on plugin specifically.
Ah those usually shell out to kubectl; not use the client-go client.
I encountered an issue while using the kubectl-pods_on plugin, where it fails with the following error message:
kubeconfig user:
It seems the plugin is unable to recognize the oidc authentication provider. This configuration works correctly with kubectl and other plugins, but fails with this one.
Plugin version: v0.1.0