You are viewing documentation for a release that is no longer maintainedSee documentation for the latest supported version 3 or the latest supported version 4.
1.2.2.23.5. 配置大小写规范化
在某些环境中,在授权策略中对路径进行比较时不区分大小写可能很有用。例如,把 https://myurl/get 视为与 https://myurl/GeT 一样。在这些情况下,您可以使用如下所示的 EnvoyFilter。此过滤器将更改用于比较的路径以及应用程序显示的路径。在本例中,istio-system 是 Service Mesh control plane 项目的名称。
将 EnvoyFilter 保存到文件中并运行以下命令:
oc create -f <myEnvoyFilterFile>
$oc create -f<myEnvoyFilterFile>
Copy to ClipboardCopied!Toggle word wrapToggle overflow