kubelatte-ce

Форк
2
Форк от sbertech/kubelatte-ce
/
kubelatte.io_triggers.yaml 
606 строк · 24.7 Кб
1
---
2
apiVersion: apiextensions.k8s.io/v1
3
kind: CustomResourceDefinition
4
metadata:
5
  annotations:
6
    controller-gen.kubebuilder.io/version: v0.8.0
7
  creationTimestamp: null
8
  name: triggers.kubelatte.io
9
spec:
10
  group: kubelatte.io
11
  names:
12
    kind: Trigger
13
    listKind: TriggerList
14
    plural: triggers
15
    singular: trigger
16
  scope: Namespaced
17
  versions:
18
  - name: v1alpha1
19
    schema:
20
      openAPIV3Schema:
21
        description: Trigger is the Schema for the Triggers API
22
        properties:
23
          apiVersion:
24
            description: 'APIVersion defines the versioned schema of this representation
25
              of an object. Servers should convert recognized schemas to the latest
26
              internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27
            type: string
28
          kind:
29
            description: 'Kind is a string value representing the REST resource this
30
              object represents. Servers may infer this from the endpoint the client
31
              submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32
            type: string
33
          metadata:
34
            type: object
35
          spec:
36
            properties:
37
              creationConfigs:
38
                description: Foo is an example field of Trigger. Edit Template_types.go
39
                  to remove/update
40
                items:
41
                  properties:
42
                    action:
43
                      type: string
44
                    annotationNamespace:
45
                      type: string
46
                    annotationTrigger:
47
                      type: string
48
                    disableUniqueName:
49
                      type: string
50
                    labelSelector:
51
                      description: A label selector is a label query over a set of
52
                        resources. The result of matchLabels and matchExpressions
53
                        are ANDed. An empty label selector matches all objects. A
54
                        null label selector matches no objects.
55
                      properties:
56
                        matchExpressions:
57
                          description: matchExpressions is a list of label selector
58
                            requirements. The requirements are ANDed.
59
                          items:
60
                            description: A label selector requirement is a selector
61
                              that contains values, a key, and an operator that relates
62
                              the key and values.
63
                            properties:
64
                              key:
65
                                description: key is the label key that the selector
66
                                  applies to.
67
                                type: string
68
                              operator:
69
                                description: operator represents a key's relationship
70
                                  to a set of values. Valid operators are In, NotIn,
71
                                  Exists and DoesNotExist.
72
                                type: string
73
                              values:
74
                                description: values is an array of string values.
75
                                  If the operator is In or NotIn, the values array
76
                                  must be non-empty. If the operator is Exists or
77
                                  DoesNotExist, the values array must be empty. This
78
                                  array is replaced during a strategic merge patch.
79
                                items:
80
                                  type: string
81
                                type: array
82
                            required:
83
                            - key
84
                            - operator
85
                            type: object
86
                          type: array
87
                        matchLabels:
88
                          additionalProperties:
89
                            type: string
90
                          description: matchLabels is a map of {key,value} pairs.
91
                            A single {key,value} in the matchLabels map is equivalent
92
                            to an element of matchExpressions, whose key field is
93
                            "key", the operator is "In", and the values array contains
94
                            only "value". The requirements are ANDed.
95
                          type: object
96
                      type: object
97
                    name:
98
                      type: string
99
                    templateRefs:
100
                      items:
101
                        type: string
102
                      type: array
103
                  required:
104
                  - name
105
                  - templateRefs
106
                  type: object
107
                type: array
108
              mutationConfigs:
109
                items:
110
                  properties:
111
                    annotationNamespace:
112
                      type: string
113
                    annotationTrigger:
114
                      type: string
115
                    annotations:
116
                      items:
117
                        type: string
118
                      type: array
119
                    containers:
120
                      items:
121
                        type: string
122
                      type: array
123
                    ignoreNamespaces:
124
                      items:
125
                        type: string
126
                      type: array
127
                    labelSelector:
128
                      description: A label selector is a label query over a set of
129
                        resources. The result of matchLabels and matchExpressions
130
                        are ANDed. An empty label selector matches all objects. A
131
                        null label selector matches no objects.
132
                      properties:
133
                        matchExpressions:
134
                          description: matchExpressions is a list of label selector
135
                            requirements. The requirements are ANDed.
136
                          items:
137
                            description: A label selector requirement is a selector
138
                              that contains values, a key, and an operator that relates
139
                              the key and values.
140
                            properties:
141
                              key:
142
                                description: key is the label key that the selector
143
                                  applies to.
144
                                type: string
145
                              operator:
146
                                description: operator represents a key's relationship
147
                                  to a set of values. Valid operators are In, NotIn,
148
                                  Exists and DoesNotExist.
149
                                type: string
150
                              values:
151
                                description: values is an array of string values.
152
                                  If the operator is In or NotIn, the values array
153
                                  must be non-empty. If the operator is Exists or
154
                                  DoesNotExist, the values array must be empty. This
155
                                  array is replaced during a strategic merge patch.
156
                                items:
157
                                  type: string
158
                                type: array
159
                            required:
160
                            - key
161
                            - operator
162
                            type: object
163
                          type: array
164
                        matchLabels:
165
                          additionalProperties:
166
                            type: string
167
                          description: matchLabels is a map of {key,value} pairs.
168
                            A single {key,value} in the matchLabels map is equivalent
169
                            to an element of matchExpressions, whose key field is
170
                            "key", the operator is "In", and the values array contains
171
                            only "value". The requirements are ANDed.
172
                          type: object
173
                      type: object
174
                    match:
175
                      properties:
176
                        annotationSelector:
177
                          properties:
178
                            matchExpressions:
179
                              items:
180
                                properties:
181
                                  key:
182
                                    type: string
183
                                  operator:
184
                                    enum:
185
                                    - In
186
                                    - NotIn
187
                                    - Exists
188
                                    - DoesNotExist
189
                                    type: string
190
                                  values:
191
                                    items:
192
                                      type: string
193
                                    type: array
194
                                required:
195
                                - key
196
                                - operator
197
                                type: object
198
                              type: array
199
                          required:
200
                          - matchExpressions
201
                          type: object
202
                        excludedNamespaces:
203
                          properties:
204
                            regex:
205
                              items:
206
                                type: string
207
                              type: array
208
                            values:
209
                              items:
210
                                type: string
211
                              type: array
212
                          type: object
213
                        kinds:
214
                          items:
215
                            properties:
216
                              apiGroups:
217
                                items:
218
                                  type: string
219
                                type: array
220
                              kinds:
221
                                items:
222
                                  type: string
223
                                type: array
224
                            type: object
225
                          type: array
226
                        labelSelector:
227
                          properties:
228
                            matchExpressions:
229
                              items:
230
                                properties:
231
                                  key:
232
                                    type: string
233
                                  operator:
234
                                    enum:
235
                                    - In
236
                                    - NotIn
237
                                    - Exists
238
                                    - DoesNotExist
239
                                    type: string
240
                                  values:
241
                                    items:
242
                                      type: string
243
                                    type: array
244
                                required:
245
                                - key
246
                                - operator
247
                                type: object
248
                              type: array
249
                          required:
250
                          - matchExpressions
251
                          type: object
252
                        matchConditions:
253
                          properties:
254
                            object:
255
                              items:
256
                                properties:
257
                                  condition:
258
                                    enum:
259
                                    - MustExist
260
                                    - MustNotExist
261
                                    type: string
262
                                  path:
263
                                    type: string
264
                                required:
265
                                - condition
266
                                - path
267
                                type: object
268
                              type: array
269
                            oldObject:
270
                              items:
271
                                properties:
272
                                  condition:
273
                                    enum:
274
                                    - MustExist
275
                                    - MustNotExist
276
                                    type: string
277
                                  path:
278
                                    type: string
279
                                required:
280
                                - condition
281
                                - path
282
                                type: object
283
                              type: array
284
                          type: object
285
                        name:
286
                          properties:
287
                            regex:
288
                              type: string
289
                            value:
290
                              type: string
291
                          type: object
292
                        namespaceSelector:
293
                          properties:
294
                            matchExpressions:
295
                              items:
296
                                properties:
297
                                  key:
298
                                    type: string
299
                                  operator:
300
                                    enum:
301
                                    - In
302
                                    - NotIn
303
                                    - Exists
304
                                    - DoesNotExist
305
                                    type: string
306
                                  values:
307
                                    items:
308
                                      type: string
309
                                    type: array
310
                                required:
311
                                - key
312
                                - operator
313
                                type: object
314
                              type: array
315
                          required:
316
                          - matchExpressions
317
                          type: object
318
                        namespaces:
319
                          properties:
320
                            regex:
321
                              items:
322
                                type: string
323
                              type: array
324
                            values:
325
                              items:
326
                                type: string
327
                              type: array
328
                          type: object
329
                        operations:
330
                          items:
331
                            type: string
332
                          type: array
333
                        scope:
334
                          enum:
335
                          - '*'
336
                          - Cluster
337
                          - Namespaced
338
                          type: string
339
                        userInfo:
340
                          properties:
341
                            username:
342
                              type: string
343
                            usernameRegex:
344
                              type: string
345
                          type: object
346
                      required:
347
                      - kinds
348
                      type: object
349
                    name:
350
                      type: string
351
                    objectSelector:
352
                      properties:
353
                        kind:
354
                          type: string
355
                        name:
356
                          type: string
357
                      required:
358
                      - kind
359
                      - name
360
                      type: object
361
                    templateRefs:
362
                      items:
363
                        type: string
364
                      type: array
365
                    updateStrategy:
366
                      default: merge
367
                      enum:
368
                      - merge
369
                      - replace
370
                      type: string
371
                    volumes:
372
                      items:
373
                        type: string
374
                      type: array
375
                  required:
376
                  - name
377
                  type: object
378
                type: array
379
              sideEffectConfigs:
380
                items:
381
                  properties:
382
                    match:
383
                      properties:
384
                        annotationSelector:
385
                          properties:
386
                            matchExpressions:
387
                              items:
388
                                properties:
389
                                  key:
390
                                    type: string
391
                                  operator:
392
                                    enum:
393
                                    - In
394
                                    - NotIn
395
                                    - Exists
396
                                    - DoesNotExist
397
                                    type: string
398
                                  values:
399
                                    items:
400
                                      type: string
401
                                    type: array
402
                                required:
403
                                - key
404
                                - operator
405
                                type: object
406
                              type: array
407
                          required:
408
                          - matchExpressions
409
                          type: object
410
                        excludedNamespaces:
411
                          properties:
412
                            regex:
413
                              items:
414
                                type: string
415
                              type: array
416
                            values:
417
                              items:
418
                                type: string
419
                              type: array
420
                          type: object
421
                        kinds:
422
                          items:
423
                            properties:
424
                              apiGroups:
425
                                items:
426
                                  type: string
427
                                type: array
428
                              kinds:
429
                                items:
430
                                  type: string
431
                                type: array
432
                            type: object
433
                          type: array
434
                        labelSelector:
435
                          properties:
436
                            matchExpressions:
437
                              items:
438
                                properties:
439
                                  key:
440
                                    type: string
441
                                  operator:
442
                                    enum:
443
                                    - In
444
                                    - NotIn
445
                                    - Exists
446
                                    - DoesNotExist
447
                                    type: string
448
                                  values:
449
                                    items:
450
                                      type: string
451
                                    type: array
452
                                required:
453
                                - key
454
                                - operator
455
                                type: object
456
                              type: array
457
                          required:
458
                          - matchExpressions
459
                          type: object
460
                        matchConditions:
461
                          properties:
462
                            object:
463
                              items:
464
                                properties:
465
                                  condition:
466
                                    enum:
467
                                    - MustExist
468
                                    - MustNotExist
469
                                    type: string
470
                                  path:
471
                                    type: string
472
                                required:
473
                                - condition
474
                                - path
475
                                type: object
476
                              type: array
477
                            oldObject:
478
                              items:
479
                                properties:
480
                                  condition:
481
                                    enum:
482
                                    - MustExist
483
                                    - MustNotExist
484
                                    type: string
485
                                  path:
486
                                    type: string
487
                                required:
488
                                - condition
489
                                - path
490
                                type: object
491
                              type: array
492
                          type: object
493
                        name:
494
                          properties:
495
                            regex:
496
                              type: string
497
                            value:
498
                              type: string
499
                          type: object
500
                        namespaceSelector:
501
                          properties:
502
                            matchExpressions:
503
                              items:
504
                                properties:
505
                                  key:
506
                                    type: string
507
                                  operator:
508
                                    enum:
509
                                    - In
510
                                    - NotIn
511
                                    - Exists
512
                                    - DoesNotExist
513
                                    type: string
514
                                  values:
515
                                    items:
516
                                      type: string
517
                                    type: array
518
                                required:
519
                                - key
520
                                - operator
521
                                type: object
522
                              type: array
523
                          required:
524
                          - matchExpressions
525
                          type: object
526
                        namespaces:
527
                          properties:
528
                            regex:
529
                              items:
530
                                type: string
531
                              type: array
532
                            values:
533
                              items:
534
                                type: string
535
                              type: array
536
                          type: object
537
                        operations:
538
                          items:
539
                            type: string
540
                          type: array
541
                        scope:
542
                          enum:
543
                          - '*'
544
                          - Cluster
545
                          - Namespaced
546
                          type: string
547
                        userInfo:
548
                          properties:
549
                            username:
550
                              type: string
551
                            usernameRegex:
552
                              type: string
553
                          type: object
554
                      required:
555
                      - kinds
556
                      type: object
557
                    name:
558
                      type: string
559
                    recreate:
560
                      default: false
561
                      type: boolean
562
                    templateRefs:
563
                      items:
564
                        type: string
565
                      type: array
566
                  required:
567
                  - match
568
                  - name
569
                  - templateRefs
570
                  type: object
571
                type: array
572
            type: object
573
          status:
574
            description: TriggerStatus defines the observed state of Trigger
575
            properties:
576
              conditions:
577
                items:
578
                  properties:
579
                    lastTransitionTime:
580
                      format: date-time
581
                      type: string
582
                    message:
583
                      type: string
584
                    status:
585
                      type: string
586
                    type:
587
                      type: string
588
                  required:
589
                  - status
590
                  - type
591
                  type: object
592
                type: array
593
              phase:
594
                type: string
595
            type: object
596
        type: object
597
    served: true
598
    storage: true
599
    subresources:
600
      status: {}
601
status:
602
  acceptedNames:
603
    kind: ""
604
    plural: ""
605
  conditions: []
606
  storedVersions: []
607

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.