website
website copied to clipboard
Refactored metadata
Related issue #12484
Proposed Changes Recommend using namespaceObject.metadata.name for consistent namespace validation.
Thanks for opening your first Pull Request here! Please check out our Contributing guidelines and confirm that you Signed off.
How is it related to https://github.com/kyverno/kyverno/issues/12484?
I changed object.metadata.namespace to namespaceObject.metadata.name based on Maryam’s suggestion (in a comment on [kyverno/kyverno#12484] to keep it consistent across pod controllers.