-
Notifications
You must be signed in to change notification settings - Fork 47
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
No kind \"DeleteOptions\" is registered for version \"admissionregistration.k8s.io/v1\" in scheme #142
Comments
Similar issue: crossplane/crossplane#2284 |
I cannot reproduce this in 1.19.15 cluster with v0.3.5 workflow, can you provide a specific workflow step definition and workflowrun? BTW, my example is as below: run:
cue:
|
Btw, I also tried the |
In your case, you wrap the
BTW, with 0.3.5 workflow and 1.19.15 cluster, I still cannot reproduce the problem.🤔 |
包了op.steps删除就没问题了,🐮🍺 关于最上面的那个Delete没注册的问题,目前我只在自定义的资源稳定上复现了,同样的代码改成删pod就没问题。不知道是不是因为那个自定义资源底层etcd存储用的是json格式而不是protobuf的问题。
yaml:
另外我还尝试了一下:上述删除自定义资源的cue,不加就filter可以成功...怪兮兮的 |
那是因为加了 filter,走的逻辑是 我本地复现会比较困难,或许你可以尝试一下更改本地的控制器,重新注册一下 scheme 看看问题是否解决?
|
Describe the bug
when use the "op.#Delete" for deleting custom resource, there is an error happen:
"no kind \"DeleteOptions\" is registered for version \"admissionregistration.k8s.io/v1\" in scheme \"k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go:52\""
To Reproduce
Expected behavior
delete target resources successfully and no error be reported
Screenshots
Workflow Version
Cluster information
Additional context
the same value content for listing resourses using
op.#List
is correct.The text was updated successfully, but these errors were encountered: