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">}}
|
<p>{{<tabset category-name="example">}}
|
||||||
{{<tab name="v1beta1" category-value="v1beta1">}}</p>
|
{{<tab name="v1beta1" category-value="v1beta1">}}</p>
|
||||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1beta1
|
<pre><code class="language-yaml">apiVersion: security.istio.io/v1beta1
|
||||||
kind: AuthorizaionPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: httpbin
|
name: httpbin
|
||||||
namespace: foo
|
namespace: foo
|
||||||
|
|
@ -158,7 +158,7 @@ spec:
|
||||||
<p>{{</tab>}}</p>
|
<p>{{</tab>}}</p>
|
||||||
<p>{{<tab name="v1" category-value="v1">}}</p>
|
<p>{{<tab name="v1" category-value="v1">}}</p>
|
||||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1
|
<pre><code class="language-yaml">apiVersion: security.istio.io/v1
|
||||||
kind: AuthorizaionPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: httpbin
|
name: httpbin
|
||||||
namespace: foo
|
namespace: foo
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ in the <code>foo</code> namespace.</p>
|
||||||
<p>{{<tabset category-name="example">}}
|
<p>{{<tabset category-name="example">}}
|
||||||
{{<tab name="v1beta1" category-value="v1beta1">}}</p>
|
{{<tab name="v1beta1" category-value="v1beta1">}}</p>
|
||||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1beta1
|
<pre><code class="language-yaml">apiVersion: security.istio.io/v1beta1
|
||||||
kind: AuthorizaionPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: httpbin
|
name: httpbin
|
||||||
namespace: foo
|
namespace: foo
|
||||||
|
|
@ -158,7 +158,7 @@ spec:
|
||||||
<p>{{</tab>}}</p>
|
<p>{{</tab>}}</p>
|
||||||
<p>{{<tab name="v1" category-value="v1">}}</p>
|
<p>{{<tab name="v1" category-value="v1">}}</p>
|
||||||
<pre><code class="language-yaml">apiVersion: security.istio.io/v1
|
<pre><code class="language-yaml">apiVersion: security.istio.io/v1
|
||||||
kind: AuthorizaionPolicy
|
kind: AuthorizationPolicy
|
||||||
metadata:
|
metadata:
|
||||||
name: httpbin
|
name: httpbin
|
||||||
namespace: foo
|
namespace: foo
|
||||||
|
|
|
||||||
|
|
@ -224,13 +224,11 @@ messages:
|
||||||
- name: "NamespaceMultipleInjectionLabels"
|
- name: "NamespaceMultipleInjectionLabels"
|
||||||
code: IST0123
|
code: IST0123
|
||||||
level: Warning
|
level: Warning
|
||||||
description: "A namespace has both new and legacy injection labels"
|
description: "A namespace has more than one type of 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-'"
|
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:
|
args:
|
||||||
- name: namespace
|
- name: labels
|
||||||
type: string
|
type: "[]string"
|
||||||
- name: namespace2
|
|
||||||
type: string
|
|
||||||
|
|
||||||
- name: "InvalidAnnotation"
|
- name: "InvalidAnnotation"
|
||||||
code: IST0125
|
code: IST0125
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue