Skip to content

Add console reroute middleware - #7714

Merged
pingsutw merged 2 commits into
mainfrom
add_v2_suffix_in_url
Jul 29, 2026
Merged

Add console reroute middleware#7714
pingsutw merged 2 commits into
mainfrom
add_v2_suffix_in_url

Conversation

@popojk

@popojk popojk commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Tracking issue

Why are the changes needed?

Currently we need to add /v2 suffix in the url in order to access flyte console, while at the same time receiving 404 error without it. This is inconvenient in some cases, and it is better to add a reroute rule when the user does not add /v2 suffix.

What changes were proposed in this pull request?

Add a k8s middleware. When the user access root url, the middleware redirect the user to console page

How was this patch tested?

Test in devbox both in dev mode and normal mode.

Labels

Please add one or more of the following labels to categorize your PR:

  • added: For new features.
  • changed: For changes in existing functionality.
  • deprecated: For soon-to-be-removed features.
  • removed: For features being removed.
  • fixed: For any bug fixed.
  • security: In case of vulnerabilities

This is important to improve the readability of release notes.

Setup process

Screenshots

Check all the applicable boxes

  • I updated the documentation accordingly.
  • All new and existing tests passed.
  • All commits are signed-off.

Related PRs

Stack

If you do use git town to manage PR Stacks, the stack relevant to this PR
will show below. Otherwise, you can ignore this section.

Docs link

Signed-off-by: Alex Wu <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
@popojk
popojk enabled auto-merge (squash) July 28, 2026 23:57
@pingsutw pingsutw added this to the V2 GA milestone Jul 29, 2026
@pingsutw
pingsutw disabled auto-merge July 29, 2026 00:05
@pingsutw
pingsutw merged commit f40852d into main Jul 29, 2026
23 checks passed
@pingsutw
pingsutw deleted the add_v2_suffix_in_url branch July 29, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants