Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apiext: remove crd label restriction
To limit the scope of CRD's being pulled into the Manager cache a resitrction was put on the default labels. This works in most cases when users are using the default crds provided. However, in some cases users have their own conventions on labels so if the label was modified or removed then the CRD Patching would not work. This removes the cache option and instead relies upon the `getAmbassadorioPredicate` for filtering out events for non getambassadorio crds that we do not care about as seen in `pkg/apiext/internal/controller/crd/predicate.go` We also did this to limit the scope of checked CRD's when checking CRD readiness. This has been removed and we instead check to ensure we only look at the `getambassador.io` group. Signed-off-by: Lance Austin <[email protected]>
- Loading branch information