Skip to content

Commit fcc9de4

Browse files
committed
run make crd
Signed-off-by: kahirokunn <[email protected]>
1 parent 6fb2b83 commit fcc9de4

File tree

3 files changed

+216
-159
lines changed

3 files changed

+216
-159
lines changed

artifacts/flagger/crd.yaml

Lines changed: 72 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,16 @@ spec:
6464
type: object
6565
properties:
6666
apiVersion:
67-
description: 'APIVersion defines the versioned schema of this representation
68-
of an object. Servers should convert recognized schemas to the latest
69-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
67+
description:
68+
"APIVersion defines the versioned schema of this representation
69+
of an object. Servers should convert recognized schemas to the latest
70+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
7071
type: string
7172
kind:
72-
description: 'Kind is a string value representing the REST resource this
73-
object represents. Servers may infer this from the endpoint the client
74-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
73+
description:
74+
"Kind is a string value representing the REST resource this
75+
object represents. Servers may infer this from the endpoint the client
76+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
7577
type: string
7678
metadata:
7779
type: object
@@ -150,7 +152,7 @@ spec:
150152
routeRef:
151153
description: APISIX route selector
152154
type: object
153-
required: [ "apiVersion", "kind", "name" ]
155+
required: ["apiVersion", "kind", "name"]
154156
properties:
155157
apiVersion:
156158
type: string
@@ -163,7 +165,7 @@ spec:
163165
upstreamRef:
164166
description: Gloo Upstream selector
165167
type: object
166-
required: [ "apiVersion", "kind", "name" ]
168+
required: ["apiVersion", "kind", "name"]
167169
properties:
168170
apiVersion:
169171
type: string
@@ -524,14 +526,15 @@ spec:
524526
minimum: 1
525527
type: integer
526528
required:
527-
- name
529+
- name
528530
type: object
529531
x-kubernetes-validations:
530-
- message: Must have port for Service reference
531-
rule: '(size(self.group) == 0 && self.kind == ''Service'')
532-
? has(self.port) : true'
532+
- message: Must have port for Service reference
533+
rule:
534+
"(size(self.group) == 0 && self.kind == 'Service')
535+
? has(self.port) : true"
533536
required:
534-
- backendRef
537+
- backendRef
535538
headers:
536539
description: Headers operations
537540
type: object
@@ -583,7 +586,7 @@ spec:
583586
type: array
584587
items:
585588
required:
586-
- name
589+
- name
587590
type: object
588591
properties:
589592
group:
@@ -634,7 +637,8 @@ spec:
634637
type: string
635638
type: array
636639
allowOrigin:
637-
description: The list of origins that are allowed to perform
640+
description:
641+
The list of origins that are allowed to perform
638642
CORS requests.
639643
items:
640644
format: string
@@ -681,15 +685,17 @@ spec:
681685
type: object
682686
properties:
683687
h2UpgradePolicy:
684-
description: Specify if http1.1 connection should
688+
description:
689+
Specify if http1.1 connection should
685690
be upgraded to http2 for the associated destination.
686691
enum:
687692
- DEFAULT
688693
- DO_NOT_UPGRADE
689694
- UPGRADE
690695
type: string
691696
http1MaxPendingRequests:
692-
description: Maximum number of pending HTTP requests
697+
description:
698+
Maximum number of pending HTTP requests
693699
to a destination.
694700
format: int32
695701
type: integer
@@ -698,11 +704,13 @@ spec:
698704
format: int32
699705
type: integer
700706
idleTimeout:
701-
description: The idle timeout for upstream connection
707+
description:
708+
The idle timeout for upstream connection
702709
pool connections.
703710
type: string
704711
maxRequestsPerConnection:
705-
description: Maximum number of requests per connection
712+
description:
713+
Maximum number of requests per connection
706714
to a backend.
707715
format: int32
708716
type: integer
@@ -763,31 +771,36 @@ spec:
763771
localityLbSetting:
764772
properties:
765773
distribute:
766-
description: 'Optional: only one of distribute or
767-
failover can be set.'
774+
description:
775+
"Optional: only one of distribute or
776+
failover can be set."
768777
items:
769778
properties:
770779
from:
771-
description: Originating locality, '/' separated,
780+
description:
781+
Originating locality, '/' separated,
772782
e.g.
773783
format: string
774784
type: string
775785
to:
776786
additionalProperties:
777787
type: integer
778-
description: Map of upstream localities to traffic
788+
description:
789+
Map of upstream localities to traffic
779790
distribution weights.
780791
type: object
781792
type: object
782793
type: array
783794
enabled:
784-
description: enable locality load balancing, this
795+
description:
796+
enable locality load balancing, this
785797
is DestinationRule-level and will override mesh
786798
wide settings in entirety.
787799
type: boolean
788800
failover:
789-
description: 'Optional: only failover or distribute
790-
can be set.'
801+
description:
802+
"Optional: only failover or distribute
803+
can be set."
791804
items:
792805
properties:
793806
from:
@@ -819,14 +832,16 @@ spec:
819832
description: Minimum ejection duration.
820833
type: string
821834
consecutive5xxErrors:
822-
description: Number of 5xx errors before a host is ejected
835+
description:
836+
Number of 5xx errors before a host is ejected
823837
from the connection pool.
824838
type: integer
825839
consecutiveErrors:
826840
format: int32
827841
type: integer
828842
consecutiveGatewayErrors:
829-
description: Number of gateway errors before a host is
843+
description:
844+
Number of gateway errors before a host is
830845
ejected from the connection pool.
831846
format: int32
832847
type: integer
@@ -994,20 +1009,20 @@ spec:
9941009
type: object
9951010
additionalProperties:
9961011
oneOf:
997-
- not:
998-
anyOf:
999-
- required:
1012+
- not:
1013+
anyOf:
1014+
- required:
1015+
- exact
1016+
- required:
1017+
- prefix
1018+
- required:
1019+
- regex
1020+
- required:
10001021
- exact
1001-
- required:
1022+
- required:
10021023
- prefix
1003-
- required:
1024+
- required:
10041025
- regex
1005-
- required:
1006-
- exact
1007-
- required:
1008-
- prefix
1009-
- required:
1010-
- regex
10111026
properties:
10121027
exact:
10131028
type: string
@@ -1148,7 +1163,7 @@ spec:
11481163
sessionAffinity:
11491164
description: SessionAffinity represents the session affinity settings for a canary run.
11501165
type: object
1151-
required: [ "cookieName" ]
1166+
required: ["cookieName"]
11521167
properties:
11531168
cookieName:
11541169
description: CookieName is the key that will be used for the session affinity cookie.
@@ -1212,7 +1227,7 @@ spec:
12121227
type: array
12131228
items:
12141229
type: object
1215-
required: [ "type", "status", "reason" ]
1230+
required: ["type", "status", "reason"]
12161231
properties:
12171232
lastTransitionTime:
12181233
description: LastTransitionTime of this condition
@@ -1267,14 +1282,16 @@ spec:
12671282
type: object
12681283
properties:
12691284
apiVersion:
1270-
description: 'APIVersion defines the versioned schema of this representation
1271-
of an object. Servers should convert recognized schemas to the latest
1272-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
1285+
description:
1286+
"APIVersion defines the versioned schema of this representation
1287+
of an object. Servers should convert recognized schemas to the latest
1288+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
12731289
type: string
12741290
kind:
1275-
description: 'Kind is a string value representing the REST resource this
1276-
object represents. Servers may infer this from the endpoint the client
1277-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
1291+
description:
1292+
"Kind is a string value representing the REST resource this
1293+
object represents. Servers may infer this from the endpoint the client
1294+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
12781295
type: string
12791296
metadata:
12801297
type: object
@@ -1358,14 +1375,16 @@ spec:
13581375
type: object
13591376
properties:
13601377
apiVersion:
1361-
description: 'APIVersion defines the versioned schema of this representation
1362-
of an object. Servers should convert recognized schemas to the latest
1363-
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
1378+
description:
1379+
"APIVersion defines the versioned schema of this representation
1380+
of an object. Servers should convert recognized schemas to the latest
1381+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources"
13641382
type: string
13651383
kind:
1366-
description: 'Kind is a string value representing the REST resource this
1367-
object represents. Servers may infer this from the endpoint the client
1368-
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
1384+
description:
1385+
"Kind is a string value representing the REST resource this
1386+
object represents. Servers may infer this from the endpoint the client
1387+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
13691388
type: string
13701389
metadata:
13711390
type: object

0 commit comments

Comments
 (0)