Skip to content

frontend: MapView: Build MapView for Gateway API #3776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 18, 2025

Conversation

userAdityaa
Copy link
Contributor

@userAdityaa userAdityaa commented Aug 12, 2025

PR Description

This PR introduces a MapView for the Gateway API.

  • Added a dedicated Gateway API source option in the source picker.
  • Updated the icon for Gateway API in the source picker for better clarity.
  • Built the resource relationship mapping for Gateway API objects (Gateways, Routes, etc.).
  • Implemented node-to-details linking, so selecting a node opens its details section.

This enables users to visualize and explore Gateway API resources directly within the MapView.


How to Test

  1. Navigate to the Map section from the Headlamp sidebar.

  2. Open the Source Picker and select Gateway API as the source.

    • Ensure that Gateway API resources are already applied in the cluster (Gateways, Routes, etc.), otherwise no nodes will show.
  3. Verify that:

    • Nodes for Gateway API resources are displayed on the map.
    • Relationships between resources are correctly shown.
    • Clicking on a node opens the correct details section.
  4. Confirm that the icon for Gateway API is correctly displayed in the source picker.


Screenshots of the changes

Screenshot 2025-08-18 at 1 54 10 PM Screenshot 2025-08-18 at 1 54 20 PM Screenshot 2025-08-18 at 1 54 28 PM Screenshot 2025-08-18 at 1 54 39 PM

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Aug 12, 2025
@k8s-ci-robot k8s-ci-robot requested review from illume and sniok August 12, 2025 07:00
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 12, 2025
@userAdityaa userAdityaa force-pushed the gateway branch 4 times, most recently from 10dfebc to b214efb Compare August 18, 2025 08:21
@userAdityaa userAdityaa marked this pull request as ready for review August 18, 2025 08:41
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 18, 2025
@k8s-ci-robot k8s-ci-robot requested a review from skoeva August 18, 2025 08:41
Copy link
Contributor

@illume illume left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 thanks

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: illume, userAdityaa

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 18, 2025
@illume illume merged commit 0609d63 into kubernetes-sigs:main Aug 18, 2025
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants