Skip to content

Add the support for pathType prefix in httpRoutes - #236

Merged
imsoumik03 merged 1 commit into
mainfrom
http-pathtype-fix
Jul 27, 2026
Merged

Add the support for pathType prefix in httpRoutes#236
imsoumik03 merged 1 commit into
mainfrom
http-pathtype-fix

Conversation

@imsoumik03

Copy link
Copy Markdown
Contributor

Previously, it pathType: RegularExpression was hardcoded for httpRoutes as most of the harness services are using regex in their ingress-rules.
But in SMP we have one service which has pathType: Prefix ingress-rules. So adding the support for that as well.

Precedence order in pathTypes during ingress-rules to httpRoutes migration -

  1. Have annotations use-regex: true -> RegularExpression
  2. Have paths[].pathType: prefix -> PathPrefix
  3. else default RegularExpression

@imsoumik03
imsoumik03 merged commit 11dc6ca into main Jul 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants