有没有办法在 openshift 4.3 中实现重写?
Is there a way to achieve rewrite in openshift 4.3?
在 Openshift 3.11 中,我们使用 "ingress.bluemix.net/rewrite-path" 注释进行重写。现在我们已经迁移到 4.3 版本的 Openshift,其中从 3.11 开始不支持许多注释。我们有 api 和 ui 申请。所以我们保持主机不变,只添加路径 /aps-ui/ 和 /aps-api/。这是我们应用程序的 requirement。
据我所知,该功能目前正在开发中:https://github.com/openshift/router/pull/129
haproxy.router.openshift.io/rewrite-target
以后会加入OCP4.z。相信很快就可以了。
在 Openshift 3.11 中,我们使用 "ingress.bluemix.net/rewrite-path" 注释进行重写。现在我们已经迁移到 4.3 版本的 Openshift,其中从 3.11 开始不支持许多注释。我们有 api 和 ui 申请。所以我们保持主机不变,只添加路径 /aps-ui/ 和 /aps-api/。这是我们应用程序的 requirement。
据我所知,该功能目前正在开发中:https://github.com/openshift/router/pull/129
haproxy.router.openshift.io/rewrite-target
以后会加入OCP4.z。相信很快就可以了。