This change makes sure that policy does not check for exempt images while verifying pod.spec.hostNetwork.
Which issue(s) does this PR fix(optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #
What this PR does / why we need it: As per @maxsmythe comment - https://github.com/open-policy-agent/gatekeeper-library/issues/556#issuecomment-2187847212
This change makes sure that policy does not check for exempt images while verifying
pod.spec.hostNetwork
.Which issue(s) does this PR fix (optional, using
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when the PR gets merged): Fixes #Special notes for your reviewer: