You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have kubectl installed and the oidc-login plugin installed via krew. When I run kubectl oidc-login, it is found just fine. But when I run kubefwd I get an error saying that the oidc-login plugin is not found.
I'm not sure why this would be. I don't think kubefwd is using its own separate instance of kubectl without the plugin installed, because kubefwd seems to find the context based on the kubectl config.
Any ideas? Do I need to specify a path to a plugin dir or something?
Command+Output:
$> sudo --preserve-env ./kubefwd services --context k2-qual-au --namespace quality -c ~/.kube/config
INFO[09:46:55] _ _ __ _
INFO[09:46:55] | | ___ _| |__ ___ / _|_ ____| |
INFO[09:46:55] | |/ / | | | '_ \ / _ \ |_\ \ /\ / / _ |
INFO[09:46:55] | <| |_| | |_) | __/ _|\ V V / (_| |
INFO[09:46:55] |_|\_\\__,_|_.__/ \___|_| \_/\_/ \__,_|
INFO[09:46:55]
INFO[09:46:55] Version 1.22.5
INFO[09:46:55] https://github.com/txn2/kubefwd
INFO[09:46:55]
INFO[09:46:55] Press [Ctrl-C] to stop forwarding.
INFO[09:46:55] 'cat /etc/hosts' to see all host entries.
INFO[09:46:55] Loaded hosts file /etc/hosts
INFO[09:46:55] HostFile management: Original hosts backup already exists at /home/nick/hosts.original
error: unknown command "oidc-login" for "kubectl"
FATA[09:46:55] Error connecting to k8s cluster: Get "https://F7CFCB80E3B4*****REDACTED*****.gr7.ap-southeast-2.eks.amazonaws.com/version": getting credentials: exec: executable kubectl failed with exit code 1
The text was updated successfully, but these errors were encountered:
I have kubectl installed and the oidc-login plugin installed via krew. When I run
kubectl oidc-login
, it is found just fine. But when I run kubefwd I get an error saying that the oidc-login plugin is not found.I'm not sure why this would be. I don't think kubefwd is using its own separate instance of kubectl without the plugin installed, because kubefwd seems to find the context based on the kubectl config.
Any ideas? Do I need to specify a path to a plugin dir or something?
Command+Output:
The text was updated successfully, but these errors were encountered: