Files
app-kernel-module-management/python3-k8sapp-kernel-module-management
Igor Soares e44f913398 Implement lifecycle hooks for KMM
Application lifecycle hook implemented for KMM:

* Pre-apply semantic hook: checks if the required overrides are in place
  prior to allowing the app to be applied.
* Pre-remove operation hook: deletes existing modules and waits for
  worker pods to complete.
* Post-remove operation hook: delete CRDs created by the operator

Test Plan:
PASS: Upload/apply/remove/delete/update kernel-module-management.
PASS: Attempt to apply KMM without overrides.
PASS: Attempt to apply KMM only with the dockerConfigJson override.
PASS: Attempt to apply KMM only with the dockerRegistrySecretName
      override.
PASS: Remove the application with and without modules loaded.
PASS: Remove the application when the operator controller pod is not
      running.

Story: 2011628
Task: 53711

Change-Id: I2eb8db832d4564fe500db9ea1c6a1cead4accdd3
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2026-01-23 15:19:23 -03:00
..