-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use APIReader for reading desired object directly from k8s apiserver (#…
…49) Issue #, if available: aws-controllers-k8s/community#894 Description of changes: * Use `APIReader` for making reading desired state of k8s resource directly from apiserver and avoid any client caches. Also see: kubernetes-sigs/controller-runtime#585 (comment) Tested locally with apigatewayv2 controller and this change resolves the duplicate API creation issue. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
- Loading branch information
Showing
1 changed file
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters