SIGN IN SIGN UP

fix(e2e): use per-component namespaces in HA and upgrade steps (#2685)

The e2e test infrastructure assumed all OLM components (operator-controller
and catalogd) live in the same namespace, but some distributions deploy them
in separate namespaces. This caused the HA scenario to fail because
ComponentIsReadyToReconcile searched for the catalogd deployment in the
operator-controller namespace.

detectOLMDeployments now returns both deployments from a single API call,
and BeforeSuite populates a componentNamespaces map so each component's
operations (deployment lookup, rollout, lease, logs, pod fetch) use the
correct namespace.

Signed-off-by: Todd Short <tshort@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
T
Todd Short committed
e0f05f987156783ac8211a9012eccffd5a9f26ec
Parent: 09ccf9e
Committed by GitHub <noreply@github.com> on 4/30/2026, 4:30:37 PM