when you has a default kubeconfig ,using kubectl auth can-i --list --token still get the kubeconfig privielge #1657
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What would you like to be added:
if you are using command like this
and you have a default kubeconfig in admin.conf,kubectl also will use the kubeconfig certdata but not use the token,i think if you use --token that mean you want to get is what the token priviege is not the kubeconfig
Why is this needed:
easy and fast to know the what the sa can do
The text was updated successfully, but these errors were encountered: