Closed mark8s closed 1 year ago
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
Hello everyone, I have a question.
When I was using client-go dynamic client, I found a phenomenon, the following code:
I use the above code to create a crd resource. This crd resource is actually problematic. It has a wrong owner references in it, pointing to a cross-cluster crd resource (ShortCutRun). Its resource content is:
Therefore, when I use DynamicClient to create this resource, after execution, this resource (DestinationRule) does not appear in the cluster. The final reason is the wrong ownerreferences configuration. However, DynamicClient does not return any error, it returns a nil. It seems that the create or patch interface of DynamicClient has not been verified for resources?
I just want to ask now, is there any way or solution to solve this problem?
Does anyone know? Hope to get help.