File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
content/en/docs/tasks/traffic-management/ingress/secure-ingress Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 543
543
544
544
{{< tab name="Gateway API" category-value="gateway-api" >}}
545
545
546
- Because the Kubernetes Gateway API does not currently support mutual TLS termination in a
547
- [ Gateway] ( https://gateway-api.sigs.k8s.io/references/spec/#gateway.networking.k8s.io/v1.Gateway ) ,
548
- we use an Istio-specific option, ` gateway.istio.io/tls-terminate-mode: MUTUAL ` ,
549
- to configure it:
546
+ Add a reference to a ConfigMap or a Secret with ` ca.crt ` or ` cacert ` key that holds CA certificates.
550
547
551
548
{{< text bash >}}
552
549
$ cat <<EOF | kubectl apply -f -
@@ -566,8 +563,11 @@ spec:
566
563
mode: Terminate
567
564
certificateRefs:
568
565
- name: httpbin-credential
569
- options:
570
- gateway.istio.io/tls-terminate-mode: MUTUAL
566
+ frontendValidation:
567
+ caCertificateRefs:
568
+ - group: ""
569
+ kind: Secret
570
+ name: httpbin-credential
571
571
allowedRoutes:
572
572
namespaces:
573
573
from: Selector
Original file line number Diff line number Diff line change @@ -441,8 +441,11 @@ spec:
441
441
mode: Terminate
442
442
certificateRefs:
443
443
- name: httpbin-credential
444
- options:
445
- gateway.istio.io/tls-terminate-mode: MUTUAL
444
+ frontendValidation:
445
+ caCertificateRefs:
446
+ - group: ""
447
+ kind: Secret
448
+ name: httpbin-credential
446
449
allowedRoutes:
447
450
namespaces:
448
451
from: Selector
You can’t perform that action at this time.
0 commit comments