mirror of https://github.com/istio/istio.io.git
feat: support GWAPI frontend validation (#16739)
Signed-off-by: Sergei Nikolaev <kinolaev@gmail.com>
This commit is contained in:
parent
a8847f37a9
commit
9baf3739f5
|
@ -543,10 +543,7 @@ EOF
|
||||||
|
|
||||||
{{< tab name="Gateway API" category-value="gateway-api" >}}
|
{{< tab name="Gateway API" category-value="gateway-api" >}}
|
||||||
|
|
||||||
Because the Kubernetes Gateway API does not currently support mutual TLS termination in a
|
Add a reference to a ConfigMap or a Secret with `ca.crt` or `cacert` key that holds CA certificates.
|
||||||
[Gateway](https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1.Gateway),
|
|
||||||
we use an Istio-specific option, `gateway.istio.io/tls-terminate-mode: MUTUAL`,
|
|
||||||
to configure it:
|
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ cat <<EOF | kubectl apply -f -
|
$ cat <<EOF | kubectl apply -f -
|
||||||
|
@ -566,8 +563,11 @@ spec:
|
||||||
mode: Terminate
|
mode: Terminate
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- name: httpbin-credential
|
- name: httpbin-credential
|
||||||
options:
|
frontendValidation:
|
||||||
gateway.istio.io/tls-terminate-mode: MUTUAL
|
caCertificateRefs:
|
||||||
|
- group: ""
|
||||||
|
kind: Secret
|
||||||
|
name: httpbin-credential
|
||||||
allowedRoutes:
|
allowedRoutes:
|
||||||
namespaces:
|
namespaces:
|
||||||
from: Selector
|
from: Selector
|
||||||
|
|
|
@ -441,8 +441,11 @@ spec:
|
||||||
mode: Terminate
|
mode: Terminate
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- name: httpbin-credential
|
- name: httpbin-credential
|
||||||
options:
|
frontendValidation:
|
||||||
gateway.istio.io/tls-terminate-mode: MUTUAL
|
caCertificateRefs:
|
||||||
|
- group: ""
|
||||||
|
kind: Secret
|
||||||
|
name: httpbin-credential
|
||||||
allowedRoutes:
|
allowedRoutes:
|
||||||
namespaces:
|
namespaces:
|
||||||
from: Selector
|
from: Selector
|
||||||
|
|
Loading…
Reference in New Issue