You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add conditional for starting adoption reconciler (#59)
Issue #, if available: aws-controllers-k8s/community#1006
Description of changes:
Use cluster introspection to determine whether the `AdoptedResource` CRD has been installed, starting the adoption reconciler only if they have been. This will allow cluster operators to intentionally leave the `AdoptedResource` uninstalled, if they wish to handle this separately.
I have tested these changes by uninstalling the `AdoptedResource` CRD and then running the controller. I see the following line in the logs to prove it is working:
```
2021-10-19T14:52:42.975-0700 INFO adoption AdoptedResource CRD not installed. The adoption reconciler will not be started
```
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
0 commit comments