cozystack/cmd/cozystack-operator
Aleksei Sviridkin 8450830f06
fix(installer): add CRD wait in E2E, unit tests for PackageSource creation
Add explicit CRD wait (kubectl wait crd --for=condition=Established) in
E2E test before creating Package resources, preventing race condition
between operator CRD installation and resource creation.

Add unit tests for installPlatformPackageSource covering create, update,
and GitRepository sourceRef kind scenarios.

Document that hardcoded variant list is an intentional design choice
matching the previous Helm template behavior.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
2026-02-19 17:50:09 +03:00
..
main.go fix(installer): add CRD wait in E2E, unit tests for PackageSource creation 2026-02-19 17:50:09 +03:00
main_test.go fix(installer): add CRD wait in E2E, unit tests for PackageSource creation 2026-02-19 17:50:09 +03:00