-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unable to create webhook for core type #4747
Comments
As we spoke about core/external types are not fully supported yet, and you need to create the api with resource true as a workaround and make the required adjustments manually. See the RFE: kubernetes-sigs/kubebuilder#1999 |
/kind feature |
Created an issue in kubebuilder to return an error: kubernetes-sigs/kubebuilder#2141 |
See; https://book.kubebuilder.io/reference/webhook-for-core-types.html The KB/SDK CLI tool is what does not support that because it is not implemented with IHMO should be addressed as part of RFE: kubernetes-sigs/kubebuilder#1999. However, I hope that this doc helps you with. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closing this issue. 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/test-infra repository. |
Bug Report
What did you do?
I am trying to add a webhook for an existing core resource but unable to do so. Reproducible with the following steps:
What did you see instead? Under which circumstances?
Got the following error:
Environment
Openshift v4.6.13
Operator type:
/language go
Kubernetes cluster type:
$ operator-sdk version
$ go version
(if language is Go)go version go1.16 linux/amd64
$ kubectl version
The text was updated successfully, but these errors were encountered: