refactor(operator): rename MaaS portal resources and migrate legacy operands #10166
All Vouch review confidence checks passed
Residual risk 0.28 = Change Risk (0.71) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.71 · 528 lines diff across 6 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.375
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.071
Real PR Conversation Timeline
1 comments
"Review active on #10166"
general
weight: 0.35
lucferbux
https://redhat.atlassian.net/browse/RHOAIENG-99076
Description
Rename MaaS Portal Kubernetes operands from
maas-consumer-portaltomaas-portal, aligning resource names, labels, federation configuration, RBAC, serving certificates, and packaged static assets.Existing installations migrate through a retryable reconciliation flow:
Update build/dev configuration and move portal lifecycle documentation into docs/maas-portal.md. The browser prefix
/maas-consumer-portal/, compatibility CR fields, and existing availability condition remain unchanged; the browser-path rename belongs to RHOAIENG-99077.Post-merge follow-up: wait for this change to land downstream through autosync, then open a new downstream PR updating
Dockerfile.konflux.core-bffandDockerfile.konflux.dashboard-operatorto mirror the upstream Dockerfile changes for the Konflux image builds. Record the autosync evidence and downstream PR link in RHOAIENG-99076.How Has This Been Tested?
Validated portal migration, rollout/restart recovery, networking, RBAC, and teardown on RHOAI 3.6.0 / ROSA / OpenShift 4.21.34.
To rerun automated checks:
Test Impact
Add unit and envtest coverage for rollout boundaries, current federation hashes, stale-cache protection, overlapping routes, scoped/idempotent cleanup, pending finalizers, API failures, forbidden ServiceAccount deletion, and recovery. Update manifest, lifecycle, subscription, observability, routing, and dev-proxy tests for the renamed identities.
Real-cluster checks supplement automation with Gateway admission, ROSA admission policy, actual CNI enforcement, and external endpoint behavior.
Request review criteria:
Self checklist (all need to be checked):
After the PR is posted & before it merges:
main[RHOAIENG-99076]: https://redhat.atlassian.net/browse/RHOAIENG-99076?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
The MaaS Portal now uses a consistent
maas-portalidentity across its deployment, routing, and related resources.Added migration support to keep the existing portal available while the replacement rolls out, then clean up legacy resources. Cleanup and URL updates now wait for deletion to complete.
Documentation
* Added a MaaS Portal guide covering configuration, availability, routing, migration, and upgrades.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->