docs(2.1.x): replace unsupported regex rewrite section#792
docs(2.1.x): replace unsupported regex rewrite section#792anvithagowda098 wants to merge 2 commits into
Conversation
Signed-off-by: Anvitha <anvitha.gowda098@gmail.com>
|
Instead of duplicating the entire But the problem is that Hugo loses heading rendering for Would extracting the regex rewrite content into |
|
@anvithagowda098 Have you tried changing |
|
@kristin-kronstain-brown does not work either. Extracting the regex rewrite content into snippet breaks as well. Appears to me as if the current PR is the right solution. |
|
@anvithagowda098 Thanks for tracking this down. Yeah, the version shortcodes can be tricky. I've been working on trying to get that working better, but for this instance, I think it's fine to go without them and just copy over the content. It's an older version and the later versions do still use the shared asset file. As I was starting to go through the shared topic for comparison, I noticed some issues with that one. Can you make sure your version corrects the same things I did in the asset file for the other versions? |
Signed-off-by: Anvitha <anvitha.gowda098@gmail.com>
|
@kristin-kronstain-brown made the necessary changes! |
Description
The
TrafficPolicyurlRewritefield does not exist in v2.1.x . The Regex rewrite section on the v2.1.x path rewrites page incorrectly documented this feature, causing API errors for users who followed it.Replaced the entire Regex rewrite section with a callout noting the feature is unavailable in v2.1.x and pointing users to the supported
ReplacePrefixMatchandReplaceFullPathalternatives. Also removed the correspondingTrafficPolicycleanup command.Fixes kgateway-dev/kgateway#13452
Change Type
/kind documentation
Additional Notes
Only the
2.1.xversion of the page is affected. The2.2.xandlatestpages are correct and unchanged.