shuting

Results 647 comments of shuting

I've sent this PR to remove resource filter labels https://github.com/kyverno/kyverno/pull/5208. Now this metric only reports execution latency by rule info. Hope this helps reduce some noise :)

@eddycharly - can you kindly provide some inputs here? Is there a way that we can avoid these empty attributes?

> @realshuting those attributes are not pointers and therefore will default to empty structs. This cannot be avoided, we need to use pointers to get rid of them (I think...

This issue will go away once we make the new autogen default, no?

We will remove the old way of auto-gen once the new one becomes the default. Kyverno will no longer change the rule spec, would this issue still preserve?

Based on the discussion of [Dynamic and Customizable Webhooks ](https://docs.google.com/document/d/1Y7_7ow4DgCLyCFQcFVz1vHclghazAKZyolIfprtNURc/edit#), the resourceFilters and namespaceSelectors will be deprecated (see https://github.com/kyverno/kyverno/issues/2320) in the future release. Instead, the webhooks will be configured based...

Thanks Mritunjay! There seems to be a typo for case 4, it should be "Sync **false**, Clone false" right? @prateekpandey14 - have you verified 3 and 4? Do we want...

> @realshuting let's do that, I recently worked with crd sync controller and I was thinking the same. It will not address api services though, maybe we can watch that...

> I talked with apimachinery folks and they clearly didn't recommend this approach. https://kubernetes.slack.com/archives/C0EG7JC6T/p1666022905364319 Thanks @eddycharly ! Not sure what can be done here 😔 Please log separate issues for...