Skip to content

Commit a0b3b3f

Browse files
authored
add an unique id to each host preflights (#431)
* add an unique id to each host preflights * auto generated files * updated schemas for the new field id * keeping it consistent with the rest of the spec
1 parent 1bdd3db commit a0b3b3f

11 files changed

+373
-34
lines changed

config/crds/troubleshoot.sh_analyzers.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ spec:
4747
type: string
4848
exclude:
4949
type: BoolString
50+
id:
51+
type: string
5052
namespace:
5153
type: string
5254
outcomes:
@@ -91,6 +93,8 @@ spec:
9193
type: string
9294
exclude:
9395
type: BoolString
96+
id:
97+
type: string
9498
outcomes:
9599
items:
96100
properties:
@@ -134,6 +138,8 @@ spec:
134138
type: string
135139
exclude:
136140
type: BoolString
141+
id:
142+
type: string
137143
key:
138144
type: string
139145
namespace:
@@ -181,6 +187,8 @@ spec:
181187
type: string
182188
exclude:
183189
type: BoolString
190+
id:
191+
type: string
184192
outcomes:
185193
items:
186194
properties:
@@ -224,6 +232,8 @@ spec:
224232
type: string
225233
exclude:
226234
type: BoolString
235+
id:
236+
type: string
227237
outcomes:
228238
items:
229239
properties:
@@ -266,6 +276,8 @@ spec:
266276
type: string
267277
exclude:
268278
type: BoolString
279+
id:
280+
type: string
269281
name:
270282
type: string
271283
namespace:
@@ -313,6 +325,8 @@ spec:
313325
type: string
314326
exclude:
315327
type: BoolString
328+
id:
329+
type: string
316330
outcomes:
317331
items:
318332
properties:
@@ -354,6 +368,8 @@ spec:
354368
type: string
355369
exclude:
356370
type: BoolString
371+
id:
372+
type: string
357373
outcomes:
358374
items:
359375
properties:
@@ -398,6 +414,8 @@ spec:
398414
type: string
399415
exclude:
400416
type: BoolString
417+
id:
418+
type: string
401419
ingressName:
402420
type: string
403421
namespace:
@@ -447,6 +465,8 @@ spec:
447465
type: string
448466
exclude:
449467
type: BoolString
468+
id:
469+
type: string
450470
namespace:
451471
type: string
452472
outcomes:
@@ -495,6 +515,8 @@ spec:
495515
type: BoolString
496516
fileName:
497517
type: string
518+
id:
519+
type: string
498520
outcomes:
499521
items:
500522
properties:
@@ -563,6 +585,8 @@ spec:
563585
type: object
564586
type: object
565587
type: object
588+
id:
589+
type: string
566590
outcomes:
567591
items:
568592
properties:
@@ -608,6 +632,8 @@ spec:
608632
type: BoolString
609633
fileName:
610634
type: string
635+
id:
636+
type: string
611637
outcomes:
612638
items:
613639
properties:
@@ -654,6 +680,8 @@ spec:
654680
type: BoolString
655681
fileName:
656682
type: string
683+
id:
684+
type: string
657685
outcomes:
658686
items:
659687
properties:
@@ -698,6 +726,8 @@ spec:
698726
type: string
699727
exclude:
700728
type: BoolString
729+
id:
730+
type: string
701731
outcomes:
702732
items:
703733
properties:
@@ -740,6 +770,8 @@ spec:
740770
type: string
741771
exclude:
742772
type: BoolString
773+
id:
774+
type: string
743775
key:
744776
type: string
745777
namespace:
@@ -789,6 +821,8 @@ spec:
789821
type: string
790822
exclude:
791823
type: BoolString
824+
id:
825+
type: string
792826
name:
793827
type: string
794828
namespace:
@@ -836,6 +870,8 @@ spec:
836870
type: string
837871
exclude:
838872
type: BoolString
873+
id:
874+
type: string
839875
outcomes:
840876
items:
841877
properties:
@@ -884,6 +920,8 @@ spec:
884920
type: BoolString
885921
fileName:
886922
type: string
923+
id:
924+
type: string
887925
outcomes:
888926
items:
889927
properties:
@@ -929,6 +967,8 @@ spec:
929967
type: string
930968
exclude:
931969
type: BoolString
970+
id:
971+
type: string
932972
reportFileGlob:
933973
type: string
934974
required:

config/crds/troubleshoot.sh_hostpreflights.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ spec:
4545
type: string
4646
exclude:
4747
type: BoolString
48+
id:
49+
type: string
4850
includeUnmountedPartitions:
4951
type: boolean
5052
minimumAcceptableSize:
@@ -95,6 +97,8 @@ spec:
9597
type: string
9698
exclude:
9799
type: BoolString
100+
id:
101+
type: string
98102
outcomes:
99103
items:
100104
properties:
@@ -136,6 +140,8 @@ spec:
136140
type: string
137141
exclude:
138142
type: BoolString
143+
id:
144+
type: string
139145
outcomes:
140146
items:
141147
properties:
@@ -179,6 +185,8 @@ spec:
179185
type: string
180186
exclude:
181187
type: BoolString
188+
id:
189+
type: string
182190
outcomes:
183191
items:
184192
properties:
@@ -222,6 +230,8 @@ spec:
222230
type: string
223231
exclude:
224232
type: BoolString
233+
id:
234+
type: string
225235
outcomes:
226236
items:
227237
properties:
@@ -263,6 +273,8 @@ spec:
263273
type: string
264274
exclude:
265275
type: BoolString
276+
id:
277+
type: string
266278
outcomes:
267279
items:
268280
properties:
@@ -306,6 +318,8 @@ spec:
306318
type: string
307319
exclude:
308320
type: BoolString
321+
id:
322+
type: string
309323
outcomes:
310324
items:
311325
properties:
@@ -349,6 +363,8 @@ spec:
349363
type: string
350364
exclude:
351365
type: BoolString
366+
id:
367+
type: string
352368
outcomes:
353369
items:
354370
properties:
@@ -390,6 +406,8 @@ spec:
390406
type: string
391407
exclude:
392408
type: BoolString
409+
id:
410+
type: string
393411
outcomes:
394412
items:
395413
properties:
@@ -431,6 +449,8 @@ spec:
431449
type: string
432450
exclude:
433451
type: BoolString
452+
id:
453+
type: string
434454
outcomes:
435455
items:
436456
properties:
@@ -474,6 +494,8 @@ spec:
474494
type: string
475495
exclude:
476496
type: BoolString
497+
id:
498+
type: string
477499
outcomes:
478500
items:
479501
properties:
@@ -517,6 +539,8 @@ spec:
517539
type: string
518540
exclude:
519541
type: BoolString
542+
id:
543+
type: string
520544
outcomes:
521545
items:
522546
properties:
@@ -560,6 +584,8 @@ spec:
560584
type: string
561585
exclude:
562586
type: BoolString
587+
id:
588+
type: string
563589
outcomes:
564590
items:
565591
properties:
@@ -601,6 +627,8 @@ spec:
601627
type: string
602628
exclude:
603629
type: BoolString
630+
id:
631+
type: string
604632
outcomes:
605633
items:
606634
properties:

0 commit comments

Comments
 (0)