From d1090e0407285e5d5ce8a962233679107deefc50 Mon Sep 17 00:00:00 2001 From: Istio Automation Date: Fri, 11 Aug 2023 19:16:00 -0700 Subject: [PATCH] Automator: update istio.io@ reference docs (#13721) --- .../config/security/authorization-policy/index.html | 4 ++-- .../config/security/authorization-policy/index.html | 4 ++-- data/analysis.yaml | 10 ++++------ 3 files changed, 8 insertions(+), 10 deletions(-) diff --git a/content/en/docs/reference/config/security/authorization-policy/index.html b/content/en/docs/reference/config/security/authorization-policy/index.html index 514cd38049..6e6b2b1e61 100644 --- a/content/en/docs/reference/config/security/authorization-policy/index.html +++ b/content/en/docs/reference/config/security/authorization-policy/index.html @@ -143,7 +143,7 @@ in the foo namespace.

{{}} {{}}

apiVersion: security.istio.io/v1beta1
-kind: AuthorizaionPolicy
+kind: AuthorizationPolicy
 metadata:
   name: httpbin
   namespace: foo
@@ -158,7 +158,7 @@ spec:
 

{{}}

{{}}

apiVersion: security.istio.io/v1
-kind: AuthorizaionPolicy
+kind: AuthorizationPolicy
 metadata:
   name: httpbin
   namespace: foo
diff --git a/content/zh/docs/reference/config/security/authorization-policy/index.html b/content/zh/docs/reference/config/security/authorization-policy/index.html
index 58d14c4029..52e8883475 100644
--- a/content/zh/docs/reference/config/security/authorization-policy/index.html
+++ b/content/zh/docs/reference/config/security/authorization-policy/index.html
@@ -143,7 +143,7 @@ in the foo namespace.

{{}} {{}}

apiVersion: security.istio.io/v1beta1
-kind: AuthorizaionPolicy
+kind: AuthorizationPolicy
 metadata:
   name: httpbin
   namespace: foo
@@ -158,7 +158,7 @@ spec:
 

{{}}

{{}}

apiVersion: security.istio.io/v1
-kind: AuthorizaionPolicy
+kind: AuthorizationPolicy
 metadata:
   name: httpbin
   namespace: foo
diff --git a/data/analysis.yaml b/data/analysis.yaml
index b43e9abffb..992b2058bf 100644
--- a/data/analysis.yaml
+++ b/data/analysis.yaml
@@ -224,13 +224,11 @@ messages:
   - name: "NamespaceMultipleInjectionLabels"
     code: IST0123
     level: Warning
-    description: "A namespace has both new and legacy injection labels"
-    template: "The namespace has both new and legacy injection labels. Run 'kubectl label namespace %s istio.io/rev-' or 'kubectl label namespace %s istio-injection-'"
+    description: "A namespace has more than one type of injection labels"
+    template: "The namespace has more than one type of injection labels %v, which may lead to undefined behavior. Make sure only one injection label exists."
     args:
-      - name: namespace
-        type: string
-      - name: namespace2
-        type: string
+      - name: labels
+        type: "[]string"
 
   - name: "InvalidAnnotation"
     code: IST0125