From 13544404d3be7569964c61207f45479b32888131 Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Mon, 25 Mar 2024 22:52:17 +0530 Subject: [PATCH] Fix description of PeerAuthentication example (#3139) --- security/v1/peer_authentication.pb.go | 2 +- security/v1/peer_authentication.proto | 2 +- security/v1beta1/peer_authentication.pb.go | 2 +- security/v1beta1/peer_authentication.pb.html | 2 +- security/v1beta1/peer_authentication.proto | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/security/v1/peer_authentication.pb.go b/security/v1/peer_authentication.pb.go index 91d1bffbec..ad16ceff23 100644 --- a/security/v1/peer_authentication.pb.go +++ b/security/v1/peer_authentication.pb.go @@ -154,7 +154,7 @@ func (PeerAuthentication_MutualTLS_Mode) EnumDescriptor() ([]byte, []int) { // mode: STRICT // // ``` -// Policy that enables strict mTLS for all workloads, but leaves the port `8080` to +// Policy that enables strict mTLS for all `finance` workloads, but leaves the port `8080` to // plaintext. Note the port value in the `portLevelMtls` field refers to the port // of the workload, not the port of the Kubernetes service. // ```yaml diff --git a/security/v1/peer_authentication.proto b/security/v1/peer_authentication.proto index f3c6d19c01..4c8a326627 100644 --- a/security/v1/peer_authentication.proto +++ b/security/v1/peer_authentication.proto @@ -70,7 +70,7 @@ option go_package="istio.io/api/security/v1"; // mtls: // mode: STRICT // ``` -// Policy that enables strict mTLS for all workloads, but leaves the port `8080` to +// Policy that enables strict mTLS for all `finance` workloads, but leaves the port `8080` to // plaintext. Note the port value in the `portLevelMtls` field refers to the port // of the workload, not the port of the Kubernetes service. // ```yaml diff --git a/security/v1beta1/peer_authentication.pb.go b/security/v1beta1/peer_authentication.pb.go index a1ea35865a..7760e01357 100644 --- a/security/v1beta1/peer_authentication.pb.go +++ b/security/v1beta1/peer_authentication.pb.go @@ -153,7 +153,7 @@ func (PeerAuthentication_MutualTLS_Mode) EnumDescriptor() ([]byte, []int) { // mode: STRICT // // ``` -// Policy that enables strict mTLS for all workloads, but leaves the port `8080` to +// Policy that enables strict mTLS for all `finance` workloads, but leaves the port `8080` to // plaintext. Note the port value in the `portLevelMtls` field refers to the port // of the workload, not the port of the Kubernetes service. // ```yaml diff --git a/security/v1beta1/peer_authentication.pb.html b/security/v1beta1/peer_authentication.pb.html index 5c78579478..e8391b12f4 100644 --- a/security/v1beta1/peer_authentication.pb.html +++ b/security/v1beta1/peer_authentication.pb.html @@ -49,7 +49,7 @@

PeerAuthentication

mtls: mode: STRICT -

Policy that enables strict mTLS for all workloads, but leaves the port 8080 to +

Policy that enables strict mTLS for all finance workloads, but leaves the port 8080 to plaintext. Note the port value in the portLevelMtls field refers to the port of the workload, not the port of the Kubernetes service.

apiVersion: security.istio.io/v1beta1
diff --git a/security/v1beta1/peer_authentication.proto b/security/v1beta1/peer_authentication.proto
index 3dc9d52058..8a6075a9a4 100644
--- a/security/v1beta1/peer_authentication.proto
+++ b/security/v1beta1/peer_authentication.proto
@@ -69,7 +69,7 @@ option go_package="istio.io/api/security/v1beta1";
 //   mtls:
 //     mode: STRICT
 // ```
-// Policy that enables strict mTLS for all workloads, but leaves the port `8080` to
+// Policy that enables strict mTLS for all `finance` workloads, but leaves the port `8080` to
 // plaintext. Note the port value in the `portLevelMtls` field refers to the port
 // of the workload, not the port of the Kubernetes service.
 // ```yaml