Value Statement
When a user creates a ROSA cluster, they will have the ability to designate that cluster for automatic import into an ACM cluster environment. The auto-import controller will detect whether a managed cluster has the specified label or annotation provided, initiating the automatic import flow for the managed cluster into ACM.
The controller will be required to generate the namespace, klusterletconfig, managedcluster, and import secret for the ManagedCluster. This setup will enable the managedcluster-import-controller to import the ManagedCluster as it did previously.
Definition of Done for Engineering Story Owner (Checklist)
- [x] Automatic import controller created within the discovery operator.
- [x] The cluster should not be imported automatically if the discovered cluster is not marked with the required label or annotation.
- [x] If the discovered cluster is marked with the label or annotation, it should be imported automatically into the ACM cluster.
Development Complete
- The code is complete.
- Functionality is working.
- Any required downstream Docker file changes are made.
Tests Automated
- [x] Unit/function tests have been automated and incorporated into the
build. - [ ] 100% automated unit/function test coverage for new or changed APIs.
Secure Design
- [ ] Security has been assessed and incorporated into your threat model.
Multidisciplinary Teams Readiness
- [x] Create an informative documentation issue using the [Customer
Portal_doc_issue template](
https://github.com/stolostron/backlog/issues/new?assignees=&labels=squad%3Adoc&template=doc_issue.md&title=),
and ensure doc acceptance criteria is met. Link the development issue to
the doc issue. - [x] Provide input to the QE team, and ensure QE acceptance criteria
(established between story owner and QE focal) are met.
Support Readiness
- [ ] The must-gather script has been updated.