mirror of https://github.com/istio/istio.io.git
Automator: update istio.io@ reference docs (#13721)
This commit is contained in:
parent
85b6ca2a85
commit
d1090e0407
|
|
@ -143,7 +143,7 @@ in the <code>foo</code> namespace.</p>
|
|||
<p>{{<tabset category-name="example">}}
|
||||
{{<tab name="v1beta1" category-value="v1beta1">}}</p>
|
||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1beta1
|
||||
kind: AuthorizaionPolicy
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: httpbin
|
||||
namespace: foo
|
||||
|
|
@ -158,7 +158,7 @@ spec:
|
|||
<p>{{</tab>}}</p>
|
||||
<p>{{<tab name="v1" category-value="v1">}}</p>
|
||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1
|
||||
kind: AuthorizaionPolicy
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: httpbin
|
||||
namespace: foo
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ in the <code>foo</code> namespace.</p>
|
|||
<p>{{<tabset category-name="example">}}
|
||||
{{<tab name="v1beta1" category-value="v1beta1">}}</p>
|
||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1beta1
|
||||
kind: AuthorizaionPolicy
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: httpbin
|
||||
namespace: foo
|
||||
|
|
@ -158,7 +158,7 @@ spec:
|
|||
<p>{{</tab>}}</p>
|
||||
<p>{{<tab name="v1" category-value="v1">}}</p>
|
||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1
|
||||
kind: AuthorizaionPolicy
|
||||
kind: AuthorizationPolicy
|
||||
metadata:
|
||||
name: httpbin
|
||||
namespace: foo
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue