Skip to content
This repository was archived by the owner on Apr 25, 2022. It is now read-only.

Commit 11f0c72

Browse files
authored
Generate with latest build tool (istio#1349)
1 parent 80703ae commit 11f0c72

31 files changed

+4452
-2693
lines changed

authentication/v1alpha1/istio.authentication.v1alpha1.gen.json

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,60 @@
1010
"description": "Describes how to match a given string. Match is case-sensitive.",
1111
"type": "object",
1212
"oneOf": [
13+
{
14+
"not": {
15+
"anyOf": [
16+
{
17+
"required": [
18+
"exact"
19+
],
20+
"properties": {
21+
"exact": {
22+
"description": "exact string match.",
23+
"type": "string",
24+
"format": "string"
25+
}
26+
}
27+
},
28+
{
29+
"required": [
30+
"prefix"
31+
],
32+
"properties": {
33+
"prefix": {
34+
"description": "prefix-based match.",
35+
"type": "string",
36+
"format": "string"
37+
}
38+
}
39+
},
40+
{
41+
"required": [
42+
"suffix"
43+
],
44+
"properties": {
45+
"suffix": {
46+
"description": "suffix-based match.",
47+
"type": "string",
48+
"format": "string"
49+
}
50+
}
51+
},
52+
{
53+
"required": [
54+
"regex"
55+
],
56+
"properties": {
57+
"regex": {
58+
"description": "RE2 style regex-based match (https://github.com/google/re2/wiki/Syntax).",
59+
"type": "string",
60+
"format": "string"
61+
}
62+
}
63+
}
64+
]
65+
}
66+
},
1367
{
1468
"required": [
1569
"exact"
@@ -158,6 +212,33 @@
158212
"description": "Deprecated. Please use security/v1beta1/PeerAuthentication instead. PeerAuthenticationMethod defines one particular type of authentication. Only mTLS is supported at the moment. The type can be progammatically determine by checking the type of the \"params\" field.",
159213
"type": "object",
160214
"oneOf": [
215+
{
216+
"not": {
217+
"anyOf": [
218+
{
219+
"required": [
220+
"mtls"
221+
],
222+
"properties": {
223+
"mtls": {
224+
"$ref": "#/components/schemas/istio.authentication.v1alpha1.MutualTls"
225+
}
226+
}
227+
},
228+
{
229+
"required": [
230+
"jwt"
231+
],
232+
"properties": {
233+
"jwt": {
234+
"$ref": "#/components/schemas/istio.authentication.v1alpha1.Jwt",
235+
"deprecated": true
236+
}
237+
}
238+
}
239+
]
240+
}
241+
},
161242
{
162243
"required": [
163244
"mtls"
@@ -263,6 +344,35 @@
263344
"description": "Deprecated. Only support mesh and namespace level policy in the future. PortSelector specifies the name or number of a port to be used for matching targets for authentication policy. This is copied from networking API to avoid dependency.",
264345
"type": "object",
265346
"oneOf": [
347+
{
348+
"not": {
349+
"anyOf": [
350+
{
351+
"required": [
352+
"number"
353+
],
354+
"properties": {
355+
"number": {
356+
"description": "Valid port number",
357+
"type": "integer"
358+
}
359+
}
360+
},
361+
{
362+
"required": [
363+
"name"
364+
],
365+
"properties": {
366+
"name": {
367+
"description": "Port name",
368+
"type": "string",
369+
"format": "string"
370+
}
371+
}
372+
}
373+
]
374+
}
375+
},
266376
{
267377
"required": [
268378
"number"

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

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

0 commit comments

Comments
 (0)