shuting

Results 647 comments of shuting

It breaks existing CI tests for [vpol](https://github.com/kyverno/kyverno/actions/runs/15946735361/job/44981837558?pr=13344): ``` l.go:52: | 18:07:02 | globalreference-missing-edge-cases | create policy with multiple missing references | ASSERT | ERROR | policies.kyverno.io/v1alpha1/ValidatingPolicy @ vpol-multiple-missing-refs === ERROR...

Hi @yrsuthari - thanks for completing the tests. I pushed a commit to remove unused fields in pods' manifests to bypass the assertion check, they should be passing now. Currently,...

> thanks to everyone working on this just to re-iterate what I tried to show in my comments of issue #13337, I get an error when using a globalcontext that...

I can reproduce the issue with the latest main, the issue is with the report controller during reconciliation, the message gets overwritten and the variables are not resolved correctly.

Hi @praddy26 - any new findings? To ensure the variable can be substituted successfully, the corresponding JSON context must be added before substitution. Are you able to find that logic...

> @realshuting > > My understanding of the request info getting added to the jsonContext is that as part of the admission request [this](https://github.com/kyverno/kyverno/blob/b7fa9431836b806789969a811aa4c8d8b6951175/pkg/engine/policycontext/policy_context.go#L237) function is called where we [add...

> There is no need of any code changes for this, we have to just replace `request.name` with `request.object.metadata.name` in the policy. > > We are already adding the resource...

Hi @kushal9897 - please sign off your commits https://github.com/kyverno/kyverno/pull/11463/checks?check_run_id=31984424855.