gatekeeper
gatekeeper copied to clipboard
fix: only set matchConditions on webhook when not empty
What this PR does / why we need it: only set matchConditions on webhooks when the list in values is not empty
empty matchConditions gets ommited by kubernetes and when deploying with argoCD it results in a drift on this property
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged):
Fixes #3410
Special notes for your reviewer: