You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(e2e): fix external DB tests for operator deployments
For operator deployments, patching POSTGRES_* env vars directly onto the
deployment is reverted by operator reconciliation. The external DB tests
(Azure DB, RDS) configure postgres-cred secret with connection details,
but those values never reached the RHDH container as env vars.
Fix:
- Add postgres-cred to extraEnvs.secrets in the Backstage CR so the
operator injects all its keys as env vars automatically
- Skip direct deployment env var patching in prepareForExternalDatabase
for operator installs (same pattern as schema-mode setup)
Assisted-by: OpenCode
0 commit comments