Skip to content

Commit ed33c0b

Browse files
committed
Correct yaml comments.
1 parent 74d9a80 commit ed33c0b

File tree

3 files changed

+111
-111
lines changed

3 files changed

+111
-111
lines changed

authentication/v1alpha1/istio.authentication.v1alpha1.pb.html

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ <h2 id="Jwt">Jwt</h2>
1818

1919
<p>Example,</p>
2020

21-
<pre><code class="language-yaml"> issuer: https://example.com
22-
audiences:
23-
- bookstore_android.apps.googleusercontent.com
24-
bookstore_web.apps.googleusercontent.com
25-
jwksUri: https://example.com/.well-known/jwks.json
21+
<pre><code class="language-yaml">issuer: https://example.com
22+
audiences:
23+
- bookstore_android.apps.googleusercontent.com
24+
bookstore_web.apps.googleusercontent.com
25+
jwksUri: https://example.com/.well-known/jwks.json
2626
</code></pre>
2727

2828
<table class="message-fields">
@@ -60,9 +60,9 @@ <h2 id="Jwt">Jwt</h2>
6060

6161
<p>Example:</p>
6262

63-
<pre><code class="language-yaml"> audiences:
64-
- bookstore_android.apps.googleusercontent.com
65-
bookstore_web.apps.googleusercontent.com
63+
<pre><code class="language-yaml">audiences:
64+
- bookstore_android.apps.googleusercontent.com
65+
bookstore_web.apps.googleusercontent.com
6666
</code></pre>
6767

6868
</td>
@@ -176,39 +176,39 @@ <h2 id="Policy">Policy</h2>
176176
<p>Examples:
177177
Policy to enable mTLS for all services in namespace frod</p>
178178

179-
<pre><code class="language-yaml"> apiVersion: authentication.istio.io/v1alpha1
180-
kind: Policy
181-
metadata:
182-
name: mTLS-enable
183-
namespace: frod
184-
spec:
185-
match:
186-
peers:
187-
- mtls: {}
179+
<pre><code class="language-yaml">apiVersion: authentication.istio.io/v1alpha1
180+
kind: Policy
181+
metadata:
182+
name: mTLS-enable
183+
namespace: frod
184+
spec:
185+
match:
186+
peers:
187+
- mtls: {}
188188
</code></pre>
189189

190190
<p>Policy to enable mTLS, and use JWT for productpage:9000</p>
191191

192-
<pre><code class="language-yaml"> apiVersion: authentication.istio.io/v1alpha1
193-
kind: Policy
194-
metadata:
195-
name: mTLS-enable
196-
namespace: frod
197-
spec:
198-
match:
199-
- name: productpage
200-
port:
201-
number: 9000
202-
peers:
203-
- mtls:
204-
endUsers:
205-
- jwt:
206-
issuer: &quot;https://securetoken.google.com&quot;
207-
audiences:
208-
- &quot;productpage&quot;
209-
jwksUri: &quot;https://www.googleapis.com/oauth2/v1/certs&quot;
210-
locations:
211-
- header: x-goog-iap-jwt-assertion
192+
<pre><code class="language-yaml">apiVersion: authentication.istio.io/v1alpha1
193+
kind: Policy
194+
metadata:
195+
name: mTLS-enable
196+
namespace: frod
197+
spec:
198+
match:
199+
- name: productpage
200+
port:
201+
number: 9000
202+
peers:
203+
- mtls:
204+
endUsers:
205+
- jwt:
206+
issuer: &quot;https://securetoken.google.com&quot;
207+
audiences:
208+
- &quot;productpage&quot;
209+
jwksUri: &quot;https://www.googleapis.com/oauth2/v1/certs&quot;
210+
locations:
211+
- header: x-goog-iap-jwt-assertion
212212
</code></pre>
213213

214214
<table class="message-fields">

authentication/v1alpha1/policy.pb.go

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

authentication/v1alpha1/policy.proto

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ message MutualTls {
4242
// Example,
4343
//
4444
// ```yaml
45-
// issuer: https://example.com
46-
// audiences:
47-
// - bookstore_android.apps.googleusercontent.com
48-
// bookstore_web.apps.googleusercontent.com
49-
// jwksUri: https://example.com/.well-known/jwks.json
45+
// issuer: https://example.com
46+
// audiences:
47+
// - bookstore_android.apps.googleusercontent.com
48+
// bookstore_web.apps.googleusercontent.com
49+
// jwksUri: https://example.com/.well-known/jwks.json
5050
// ```
5151
message Jwt {
5252
// Identifies the issuer that issued the JWT. See
@@ -67,9 +67,9 @@ message Jwt {
6767
// Example:
6868
//
6969
// ```yaml
70-
// audiences:
71-
// - bookstore_android.apps.googleusercontent.com
72-
// bookstore_web.apps.googleusercontent.com
70+
// audiences:
71+
// - bookstore_android.apps.googleusercontent.com
72+
// bookstore_web.apps.googleusercontent.com
7373
// ```
7474
repeated string audiences = 2;
7575

@@ -140,39 +140,39 @@ message Mechanism {
140140
// Policy to enable mTLS for all services in namespace frod
141141
//
142142
// ```yaml
143-
// apiVersion: authentication.istio.io/v1alpha1
144-
// kind: Policy
145-
// metadata:
146-
// name: mTLS-enable
147-
// namespace: frod
148-
// spec:
149-
// match:
150-
// peers:
151-
// - mtls: {}
143+
// apiVersion: authentication.istio.io/v1alpha1
144+
// kind: Policy
145+
// metadata:
146+
// name: mTLS-enable
147+
// namespace: frod
148+
// spec:
149+
// match:
150+
// peers:
151+
// - mtls: {}
152152
// ```
153153
// Policy to enable mTLS, and use JWT for productpage:9000
154154
//
155155
// ```yaml
156-
// apiVersion: authentication.istio.io/v1alpha1
157-
// kind: Policy
158-
// metadata:
159-
// name: mTLS-enable
160-
// namespace: frod
161-
// spec:
162-
// match:
163-
// - name: productpage
164-
// port:
165-
// number: 9000
166-
// peers:
167-
// - mtls:
168-
// endUsers:
169-
// - jwt:
170-
// issuer: "https://securetoken.google.com"
171-
// audiences:
172-
// - "productpage"
173-
// jwksUri: "https://www.googleapis.com/oauth2/v1/certs"
174-
// locations:
175-
// - header: x-goog-iap-jwt-assertion
156+
// apiVersion: authentication.istio.io/v1alpha1
157+
// kind: Policy
158+
// metadata:
159+
// name: mTLS-enable
160+
// namespace: frod
161+
// spec:
162+
// match:
163+
// - name: productpage
164+
// port:
165+
// number: 9000
166+
// peers:
167+
// - mtls:
168+
// endUsers:
169+
// - jwt:
170+
// issuer: "https://securetoken.google.com"
171+
// audiences:
172+
// - "productpage"
173+
// jwksUri: "https://www.googleapis.com/oauth2/v1/certs"
174+
// locations:
175+
// - header: x-goog-iap-jwt-assertion
176176
// ```
177177
message Policy {
178178
// List of destinations (workloads) that the policy should be applied on.

0 commit comments

Comments
 (0)