Description of problem:
It seems these tests are not passing on the main branch, as we could see in a few unrelated PRs and in the latest nightly checks:
- https://github.com/redhat-developer/rhdh-operator/actions/runs/16480852208/job/46628177274?pr=1439
- https://github.com/redhat-developer/rhdh-operator/actions/runs/16500707198/job/46707768893?pr=1375
- https://github.com/redhat-developer/rhdh-operator/actions/runs/16510146335/job/46690272015
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
1. From the main branch, deploy the operator in a cluster with `make deploy` (I used a local vanilla K8s cluster)
2. Run `make integration-test PROFILE=backstage.io USE_EXISTING_CLUSTER=true USE_EXISTING_CONTROLLER=true`
Actual results:
Tests will fail with:
STEP: creating a Backstage resource using v1alpha3 API @ 07/21/25 23:31:13.572 [FAILED] in [It] - /home/asoro/work/projects/backstage/janus-idp/operator/integration_tests/config-refresh_test.go:292 @ 07/21/25 23:31:13.582 • [FAILED] [0.023 seconds] when create backstage with external configuration [It] verifies v1alpha3 and v1alpha4 API compatibility /home/asoro/work/projects/backstage/janus-idp/operator/integration_tests/config-refresh_test.go:253 [FAILED] Unexpected error: <*runtime.notRegisteredErr | 0xc0008a0540>: no kind is registered for the type v1alpha3.Backstage in scheme "pkg/runtime/scheme.go:100" { schemeName: "pkg/runtime/scheme.go:100", gvk: {Group: "", Version: "", Kind: ""}, target: nil, t: <*reflect.rtype | 0x1afe460>{ t: {Size_: 0x140, PtrBytes: 0x130, Hash: 562314669, TFlag: 7, Align_: 8, FieldAlign_: 8, Kind_: 25, Equal: nil, GCData: 85, Str: 183965, PtrToThis: 3777760}, }, } occurred In [It] at: /home/asoro/work/projects/backstage/janus-idp/operator/integration_tests/config-refresh_test.go:292 @ 07/21/25 23:31:13.582
Expected results:
Tests should pass.
Reproducibility (Always/Intermittent/Only Once):
Always