-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Kubectl auth can-i doesn't know about the approve
verb
#124880
Comments
This issue is currently awaiting triage. SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
I don't think |
so in that line of code there are a number of verbs which are only usuable on specific objects for example the |
I tested it, seems working when we add |
There have been cases where Kubectl has had additions to handle non-standard resources/verbs in the past (e.g. this one I raised a couple of years back). AFAIK the explicit list of verbs here is designed to address this point, it's just not got approve in it. You could ask SIG-Auth about it, I'm sure they'd have more info. |
/transfer kubenertes Decision can be made by sig-auth |
@ardaguclu: Something went wrong or the destination repo kubernetes/kubenertes does not exist. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/transfer kubernetes/kubernetes |
@ardaguclu: Something went wrong or the destination repo kubernetes/kubernetes/kubernetes does not exist. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/transfer kubernetes |
/triage accepted |
This will work even without adding verb there, adding verb just removes the warning. Submitted a PR to add that. |
What happened:
If you use
kubectl auth can-i
to test whether a user can approve certificate signing requests, you get a response indicating thatapprove
is not a valid verbAn example of the
approve
verb being used can be seen hereWhat you expected to happen:
approve
should be recognized as a valid verb oncertificatesigningrequest
objects.How to reproduce it (as minimally and precisely as possible):
Run
Anything else we need to know?:
I think that
approve
needs to be added to the kubectl auth can-i code hereEnvironment:
kubectl version
):cat /etc/os-release
):The text was updated successfully, but these errors were encountered: