-
Notifications
You must be signed in to change notification settings - Fork 508
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
Admission Controller Doesn't display feedback for kubectl "create" and "apply" #731
Comments
Thanks @amirbenv - if you need a sample, here you go:
|
@alexfeig can you share the webhook yaml file ? |
webhooks:
Did you try tinkering with these rule properties? maybe add deployment, secret, configmap, replicaset, replicacontroller in |
Sure, here you go. One thing is that using
|
@dev-gaur
|
Thanks, looking into it. @alexfeig |
@alexfeig Kind Deployment is not a part of the default api group.
|
its part of the |
That was my bad actually, surprised I didn't catch that This does work:
|
I think we can close this issue now. Please re-open if there's more queries in this context. |
@alexfeig For more future proofing and stricter checks maybe try using the "*" wildcard for apiVersions list as well. |
Yes, please see the example from earlier that I gave that works: #731 (comment) Cheers! |
Description
When using kubectl to
create
orapply
, admission controller responses are not being displayed to the user.If applicable, the
logs
endpoint shows the results. Enforcement also works.What I Did
The text was updated successfully, but these errors were encountered: