-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import populator #2690
Import populator #2690
Commits on Apr 27, 2023
-
Create populators package to be used for all populators
This commit introduces the basic reconciler for populators with common function that can be used by the different populators. Signed-off-by: Shelly Kagan <skagan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 05ee29d - Browse repository at this point
Copy the full SHA 05ee29dView commit details -
unite getcontenttype func across code
Signed-off-by: Shelly Kagan <skagan@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 75d9d62 - Browse repository at this point
Copy the full SHA 75d9d62View commit details -
Add VolumeImportSource CRD for import populator
This commit adds the VolumeImportSource CRD into CDI. CRs created from this CRD will be referenced in the dataSourceRef field to populate PVCs with the import populator. Signed-off-by: Alvaro Romero <alromero@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 96b00d9 - Browse repository at this point
Copy the full SHA 96b00d9View commit details -
Refactor common populator code to be shared among all populators
This commit introduces and modifies several functions so we can reuse common code between all populators. Other than having a common reconcile function, a new populatorController interface has been introduced so we are able to call populator-specific methods from the populator-base reconciler. Signed-off-by: Alvaro Romero <alromero@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for f5904de - Browse repository at this point
Copy the full SHA f5904deView commit details -
The import populator is a controller that handles the import of data in PVCs without the need of DataVolumes while still taking advantage of the import-controller flow. This controller creates an additional PVC' with import annotations. After the import process succeeds, the controller rebinds the PV to the original target PVc and deletes the PVC prime. Signed-off-by: Alvaro Romero <alromero@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 3ef599d - Browse repository at this point
Copy the full SHA 3ef599dView commit details -
Add functional tests to cover the import populator flow
This commit updates the import tests to cover the new import populator flow. Signed-off-by: Alvaro Romero <alromero@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 8f68f0f - Browse repository at this point
Copy the full SHA 8f68f0fView commit details -
Add unit tests for import populator
Signed-off-by: Alvaro Romero <alromero@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 3bf06a8 - Browse repository at this point
Copy the full SHA 3bf06a8View commit details -
Minor fixes and enhancements in import/common populator code
* Modify indexes and other related code to support namespaced dataSourceRefs. Cross-namespace population is still not supported as it depends on alpha feature gates. * Add functional test to cover static binding. * Fix selected node annotation bug in scratch space PVCs * Fix linter alerts Signed-off-by: Alvaro Romero <alromero@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 702ee39 - Browse repository at this point
Copy the full SHA 702ee39View commit details