OSAC-5615: add networking section and auto-provisioned resources to cluster detail page - #1218
Conversation
…luster detail page Add a Networking card to the cluster detail Overview tab displaying the resolved subnet name, security groups list, and ingress endpoint with a spinner while provisioning. Add an auto-provisioned resources subsection (visible only when auto_external_ip_attachment was used) that fetches ExternalIPs and ExternalIPAttachments by the auto-created-for label and displays them in a status table. Includes 11 render tests covering networking fields, pending state spinner, conditional visibility, status labels, and empty state. Assisted-by: Claude Code <noreply@anthropic.com> Signed-off-by: Chai Bot <chai-bot@redhat.com>
|
@redhat-chai-bot: This pull request references OSAC-5615 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: redhat-chai-bot The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Warning Review limit reachedNext included review available in 40 minutes. View limit detailsLimit details: You’ve used the included review currently available. This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry. Review configuration: ⚙️ Run configurationConfiguration used: Repository: osac-project/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (8)
Comment |
|
ℹ️ E2E VMaaS Full Install -- Skipped This suite never reached the point of actually running -- see the run for why (e.g. the e2e-readiness gate wasn't met, or this suite wasn't needed for what changed). ℹ️ E2E CaaS Full Install -- Skipped This suite never reached the point of actually running -- see the run for why (e.g. the e2e-readiness gate wasn't met, or this suite wasn't needed for what changed). ℹ️ E2E BMaaS Full Install -- Skipped This suite never reached the point of actually running -- see the run for why (e.g. the e2e-readiness gate wasn't met, or this suite wasn't needed for what changed). |
🧭 Jobs Selection (informational only)E2E Suites
AI judgment confidence: 90%. Unit Tests
Integration Tests
Helm Lint
Checks & Builds
Every table above is informational only -- nothing here gates whether a job actually runs. The E2E Suites table can use AI judgment for ambiguous files; every other table is deterministic-only (no AI). |
Summary
Adds the Networking section and Auto-provisioned resources subsection to the cluster detail page's Overview tab.
Resolves OSAC-5615
Changes
New Components
ClusterNetworkingCard— displays subnet name (resolved fromnetwork_attachment), security groups list, and ingress endpoint with a spinner while the cluster is inPROGRESSINGstateClusterAutoProvisionedResources— conditionally rendered subsection (only whenautoExternalIpAttachmentwastrueat creation) showing auto-created ExternalIPs and ExternalIPAttachments in a table with Name/Type/State columnsNew Hook
useClusterAutoProvisionedResources(clusterId, enabled)— queries ExternalIPs and ExternalIPAttachments filtered byauto-created-forlabel, limit 2 each; both queries disabled whenenabledisfalseModified Files
ClusterOverviewTab.tsx— wired inClusterNetworkingCardbelowClusterConfigurationCardcreateMockConnectTransport.ts— addedExternalIPAttachmentsservice and label filter matchertranslation.json— added i18n strings for networking sectionTesting
11 new tests covering:
Validation
pnpm run typecheck✅pnpm lint✅pnpm test✅ (11/11 new tests pass)AI-generated. Review for accuracy.
@ElayAharoni requested via Chai Bot