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