I recently had migrated from Kong 2.8.3 to Kong 3.4.2, For IngressController as there was a field in IngressClassParamters to support older regex enableLegacyRegexDetection which I made True but it is still not reflected. Until and unless I added /~ to the Regex manually controller is not adding it by default. In the Kong Migration Guide I found this.
These are the changes made in the Kong as well
-
Kong version
-
enableLegacyRegexDetection is made True.
-
The Ingress path that I am using is /(.*).
It is expected that with all these configurations Ingress Controller itself adds ~ while Reconcialiation. Which is not being the case.