Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust the error to check for the ConstraintTemplate CRD missing
After updating to controller-runtime 0.15, it seems that a different error is returned when a CRD is missing, so it caused an API server hit every time the policy template sync controller reconciled. This uses the new error. Relates: stolostron/backlog#27375 Signed-off-by: mprahl <mprahl@users.noreply.github.com>
- Loading branch information