Skip to content

Commit aae119e

Browse files
weltekialexellis
authored andcommitted
Update CRD and client for priority class profile
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent 0b7a381 commit aae119e

File tree

13 files changed

+75
-329
lines changed

13 files changed

+75
-329
lines changed

artifacts/crds/crds.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -968,11 +968,13 @@ spec:
968968
items:
969969
type: string
970970
type: array
971+
x-kubernetes-list-type: atomic
971972
required:
972973
- key
973974
- operator
974975
type: object
975976
type: array
977+
x-kubernetes-list-type: atomic
976978
matchLabels:
977979
additionalProperties:
978980
type: string
@@ -1048,11 +1050,13 @@ spec:
10481050
items:
10491051
type: string
10501052
type: array
1053+
x-kubernetes-list-type: atomic
10511054
required:
10521055
- key
10531056
- operator
10541057
type: object
10551058
type: array
1059+
x-kubernetes-list-type: atomic
10561060
matchLabels:
10571061
additionalProperties:
10581062
type: string
@@ -1143,11 +1147,13 @@ spec:
11431147
items:
11441148
type: string
11451149
type: array
1150+
x-kubernetes-list-type: atomic
11461151
required:
11471152
- key
11481153
- operator
11491154
type: object
11501155
type: array
1156+
x-kubernetes-list-type: atomic
11511157
matchLabels:
11521158
additionalProperties:
11531159
type: string
@@ -1222,11 +1228,13 @@ spec:
12221228
items:
12231229
type: string
12241230
type: array
1231+
x-kubernetes-list-type: atomic
12251232
required:
12261233
- key
12271234
- operator
12281235
type: object
12291236
type: array
1237+
x-kubernetes-list-type: atomic
12301238
matchLabels:
12311239
additionalProperties:
12321240
type: string
@@ -1315,11 +1323,13 @@ spec:
13151323
items:
13161324
type: string
13171325
type: array
1326+
x-kubernetes-list-type: atomic
13181327
required:
13191328
- key
13201329
- operator
13211330
type: object
13221331
type: array
1332+
x-kubernetes-list-type: atomic
13231333
matchLabels:
13241334
additionalProperties:
13251335
type: string
@@ -1395,11 +1405,13 @@ spec:
13951405
items:
13961406
type: string
13971407
type: array
1408+
x-kubernetes-list-type: atomic
13981409
required:
13991410
- key
14001411
- operator
14011412
type: object
14021413
type: array
1414+
x-kubernetes-list-type: atomic
14031415
matchLabels:
14041416
additionalProperties:
14051417
type: string
@@ -1490,11 +1502,13 @@ spec:
14901502
items:
14911503
type: string
14921504
type: array
1505+
x-kubernetes-list-type: atomic
14931506
required:
14941507
- key
14951508
- operator
14961509
type: object
14971510
type: array
1511+
x-kubernetes-list-type: atomic
14981512
matchLabels:
14991513
additionalProperties:
15001514
type: string
@@ -1569,11 +1583,13 @@ spec:
15691583
items:
15701584
type: string
15711585
type: array
1586+
x-kubernetes-list-type: atomic
15721587
required:
15731588
- key
15741589
- operator
15751590
type: object
15761591
type: array
1592+
x-kubernetes-list-type: atomic
15771593
matchLabels:
15781594
additionalProperties:
15791595
type: string
@@ -1844,6 +1860,13 @@ spec:
18441860
type: string
18451861
type: object
18461862
type: object
1863+
priorityClassName:
1864+
description: |-
1865+
If specified, indicates the function pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords
1866+
which indicate the highest priorities with the former being the highest priority.
1867+
Any other name must be defined by creating a PriorityClass object with that name.
1868+
If not specified, the function pod priority will be default or zero if there is no default.
1869+
type: string
18471870
resources:
18481871
description: |-
18491872
Resources allows customizing resource requests and limits for the function container.
@@ -2054,11 +2077,13 @@ spec:
20542077
items:
20552078
type: string
20562079
type: array
2080+
x-kubernetes-list-type: atomic
20572081
required:
20582082
- key
20592083
- operator
20602084
type: object
20612085
type: array
2086+
x-kubernetes-list-type: atomic
20622087
matchLabels:
20632088
additionalProperties:
20642089
type: string

artifacts/crds/openfaas.com_profiles.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,13 @@ spec:
299299
items:
300300
type: string
301301
type: array
302+
x-kubernetes-list-type: atomic
302303
required:
303304
- key
304305
- operator
305306
type: object
306307
type: array
308+
x-kubernetes-list-type: atomic
307309
matchLabels:
308310
additionalProperties:
309311
type: string
@@ -379,11 +381,13 @@ spec:
379381
items:
380382
type: string
381383
type: array
384+
x-kubernetes-list-type: atomic
382385
required:
383386
- key
384387
- operator
385388
type: object
386389
type: array
390+
x-kubernetes-list-type: atomic
387391
matchLabels:
388392
additionalProperties:
389393
type: string
@@ -474,11 +478,13 @@ spec:
474478
items:
475479
type: string
476480
type: array
481+
x-kubernetes-list-type: atomic
477482
required:
478483
- key
479484
- operator
480485
type: object
481486
type: array
487+
x-kubernetes-list-type: atomic
482488
matchLabels:
483489
additionalProperties:
484490
type: string
@@ -553,11 +559,13 @@ spec:
553559
items:
554560
type: string
555561
type: array
562+
x-kubernetes-list-type: atomic
556563
required:
557564
- key
558565
- operator
559566
type: object
560567
type: array
568+
x-kubernetes-list-type: atomic
561569
matchLabels:
562570
additionalProperties:
563571
type: string
@@ -646,11 +654,13 @@ spec:
646654
items:
647655
type: string
648656
type: array
657+
x-kubernetes-list-type: atomic
649658
required:
650659
- key
651660
- operator
652661
type: object
653662
type: array
663+
x-kubernetes-list-type: atomic
654664
matchLabels:
655665
additionalProperties:
656666
type: string
@@ -726,11 +736,13 @@ spec:
726736
items:
727737
type: string
728738
type: array
739+
x-kubernetes-list-type: atomic
729740
required:
730741
- key
731742
- operator
732743
type: object
733744
type: array
745+
x-kubernetes-list-type: atomic
734746
matchLabels:
735747
additionalProperties:
736748
type: string
@@ -821,11 +833,13 @@ spec:
821833
items:
822834
type: string
823835
type: array
836+
x-kubernetes-list-type: atomic
824837
required:
825838
- key
826839
- operator
827840
type: object
828841
type: array
842+
x-kubernetes-list-type: atomic
829843
matchLabels:
830844
additionalProperties:
831845
type: string
@@ -900,11 +914,13 @@ spec:
900914
items:
901915
type: string
902916
type: array
917+
x-kubernetes-list-type: atomic
903918
required:
904919
- key
905920
- operator
906921
type: object
907922
type: array
923+
x-kubernetes-list-type: atomic
908924
matchLabels:
909925
additionalProperties:
910926
type: string
@@ -1175,6 +1191,13 @@ spec:
11751191
type: string
11761192
type: object
11771193
type: object
1194+
priorityClassName:
1195+
description: |-
1196+
If specified, indicates the function pod's priority. "system-node-critical" and "system-cluster-critical" are two special keywords
1197+
which indicate the highest priorities with the former being the highest priority.
1198+
Any other name must be defined by creating a PriorityClass object with that name.
1199+
If not specified, the function pod priority will be default or zero if there is no default.
1200+
type: string
11781201
resources:
11791202
description: |-
11801203
Resources allows customizing resource requests and limits for the function container.
@@ -1385,11 +1408,13 @@ spec:
13851408
items:
13861409
type: string
13871410
type: array
1411+
x-kubernetes-list-type: atomic
13881412
required:
13891413
- key
13901414
- operator
13911415
type: object
13921416
type: array
1417+
x-kubernetes-list-type: atomic
13931418
matchLabels:
13941419
additionalProperties:
13951420
type: string

0 commit comments

Comments
 (0)