kubelatte-ce
Форк от sbertech/kubelatte-ce
1071 строка · 43.6 Кб
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5annotations:
6controller-gen.kubebuilder.io/version: v0.8.0
7name: scopes.kubelatte.io
8spec:
9group: kubelatte.io
10names:
11kind: Scope
12listKind: ScopeList
13plural: scopes
14singular: scope
15scope: Namespaced
16versions:
17- name: v1alpha1
18schema:
19openAPIV3Schema:
20description: Scope is the Schema for the Scopes API
21properties:
22apiVersion:
23description: 'APIVersion defines the versioned schema of this representation
24of an object. Servers should convert recognized schemas to the latest
25internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26type: string
27kind:
28description: 'Kind is a string value representing the REST resource this
29object represents. Servers may infer this from the endpoint the client
30submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31type: string
32metadata:
33type: object
34spec:
35properties:
36items:
37items:
38description: Item ScopeItems defines items of Scope
39properties:
40apiVersion:
41type: string
42kind:
43type: string
44match:
45properties:
46annotationSelector:
47properties:
48matchExpressions:
49items:
50properties:
51key:
52type: string
53operator:
54enum:
55- In
56- NotIn
57- Exists
58- DoesNotExist
59type: string
60values:
61items:
62type: string
63type: array
64required:
65- key
66- operator
67type: object
68type: array
69required:
70- matchExpressions
71type: object
72excludedNamespaces:
73properties:
74regex:
75items:
76type: string
77type: array
78values:
79items:
80type: string
81type: array
82type: object
83kinds:
84items:
85properties:
86apiGroups:
87items:
88type: string
89type: array
90kinds:
91items:
92type: string
93type: array
94type: object
95type: array
96labelSelector:
97properties:
98matchExpressions:
99items:
100properties:
101key:
102type: string
103operator:
104enum:
105- In
106- NotIn
107- Exists
108- DoesNotExist
109type: string
110values:
111items:
112type: string
113type: array
114required:
115- key
116- operator
117type: object
118type: array
119required:
120- matchExpressions
121type: object
122matchConditions:
123properties:
124object:
125items:
126properties:
127condition:
128enum:
129- MustExist
130- MustNotExist
131type: string
132path:
133type: string
134required:
135- condition
136- path
137type: object
138type: array
139oldObject:
140items:
141properties:
142condition:
143enum:
144- MustExist
145- MustNotExist
146type: string
147path:
148type: string
149required:
150- condition
151- path
152type: object
153type: array
154type: object
155name:
156properties:
157regex:
158type: string
159value:
160type: string
161type: object
162namespaceSelector:
163properties:
164matchExpressions:
165items:
166properties:
167key:
168type: string
169operator:
170enum:
171- In
172- NotIn
173- Exists
174- DoesNotExist
175type: string
176values:
177items:
178type: string
179type: array
180required:
181- key
182- operator
183type: object
184type: array
185required:
186- matchExpressions
187type: object
188namespaces:
189properties:
190regex:
191items:
192type: string
193type: array
194values:
195items:
196type: string
197type: array
198type: object
199operations:
200items:
201type: string
202type: array
203scope:
204enum:
205- '*'
206- Cluster
207- Namespaced
208type: string
209userInfo:
210properties:
211username:
212type: string
213usernameRegex:
214type: string
215type: object
216required:
217- kinds
218type: object
219name:
220type: string
221path:
222type: string
223rule:
224properties:
225rego:
226properties:
227parameters:
228type: string
229template:
230type: string
231required:
232- template
233type: object
234simples:
235items:
236properties:
237action:
238default: deny
239enum:
240- allow
241- deny
242type: string
243message:
244type: string
245name:
246type: string
247path:
248type: string
249value:
250type: string
251required:
252- name
253- path
254- value
255type: object
256type: array
257type: object
258value:
259type: string
260required:
261- name
262type: object
263type: array
264type:
265default: mutation
266type: string
267required:
268- items
269type: object
270status:
271properties:
272conditions:
273items:
274properties:
275lastTransitionTime:
276format: date-time
277type: string
278message:
279type: string
280status:
281type: string
282type:
283type: string
284required:
285- status
286- type
287type: object
288type: array
289phase:
290description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
291of cluster Important: Run "make" to regenerate code after modifying
292this file'
293type: string
294type: object
295type: object
296served: true
297storage: true
298subresources:
299status: {}
300status:
301acceptedNames:
302kind: ""
303plural: ""
304conditions: []
305storedVersions: []
306---
307apiVersion: apiextensions.k8s.io/v1
308kind: CustomResourceDefinition
309metadata:
310annotations:
311controller-gen.kubebuilder.io/version: v0.8.0
312name: templates.kubelatte.io
313spec:
314group: kubelatte.io
315names:
316kind: Template
317listKind: TemplateList
318plural: templates
319singular: template
320scope: Namespaced
321versions:
322- name: v1alpha1
323schema:
324openAPIV3Schema:
325properties:
326apiVersion:
327description: 'APIVersion defines the versioned schema of this representation
328of an object. Servers should convert recognized schemas to the latest
329internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
330type: string
331kind:
332description: 'Kind is a string value representing the REST resource this
333object represents. Servers may infer this from the endpoint the client
334submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
335type: string
336metadata:
337type: object
338spec:
339description: TemplateSpec defines the desired state of Template
340properties:
341apiVersion:
342type: string
343data:
344type: string
345kind:
346type: string
347type:
348type: string
349required:
350- data
351type: object
352status:
353description: TemplateStatus defines the observed state of Template
354properties:
355conditions:
356items:
357properties:
358lastTransitionTime:
359format: date-time
360type: string
361message:
362type: string
363status:
364type: string
365type:
366type: string
367required:
368- status
369- type
370type: object
371type: array
372phase:
373type: string
374type: object
375type: object
376served: true
377storage: true
378subresources:
379status: {}
380status:
381acceptedNames:
382kind: ""
383plural: ""
384conditions: []
385storedVersions: []
386---
387apiVersion: apiextensions.k8s.io/v1
388kind: CustomResourceDefinition
389metadata:
390annotations:
391controller-gen.kubebuilder.io/version: v0.8.0
392name: triggerinstances.kubelatte.io
393spec:
394group: kubelatte.io
395names:
396kind: TriggerInstance
397listKind: TriggerInstanceList
398plural: triggerinstances
399singular: triggerinstance
400scope: Namespaced
401versions:
402- name: v1alpha1
403schema:
404openAPIV3Schema:
405description: TriggerInstance is the Schema for the triggerinstances API
406properties:
407apiVersion:
408description: 'APIVersion defines the versioned schema of this representation
409of an object. Servers should convert recognized schemas to the latest
410internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
411type: string
412kind:
413description: 'Kind is a string value representing the REST resource this
414object represents. Servers may infer this from the endpoint the client
415submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
416type: string
417metadata:
418type: object
419spec:
420description: TriggerInstanceSpec defines the desired state of TriggerInstance
421properties:
422data:
423description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
424Important: Run "make" to regenerate code after modifying this file'
425type: string
426x-kubernetes-preserve-unknown-fields: true
427type: object
428status:
429description: TriggerInstanceStatus defines the observed state of TriggerInstance
430properties:
431resourcestatus:
432description: 'INSERT ADDITIONAL STATUS FIELD - define observed state
433of cluster Important: Run "make" to regenerate code after modifying
434this file'
435items:
436properties:
437apiVersion:
438type: string
439kind:
440type: string
441message:
442type: string
443name:
444type: string
445phase:
446type: string
447status:
448type: string
449type: object
450x-kubernetes-preserve-unknown-fields: true
451type: array
452required:
453- resourcestatus
454type: object
455type: object
456served: true
457storage: true
458subresources:
459status: {}
460status:
461acceptedNames:
462kind: ""
463plural: ""
464conditions: []
465storedVersions: []
466---
467apiVersion: apiextensions.k8s.io/v1
468kind: CustomResourceDefinition
469metadata:
470annotations:
471controller-gen.kubebuilder.io/version: v0.8.0
472name: triggers.kubelatte.io
473spec:
474group: kubelatte.io
475names:
476kind: Trigger
477listKind: TriggerList
478plural: triggers
479singular: trigger
480scope: Namespaced
481versions:
482- name: v1alpha1
483schema:
484openAPIV3Schema:
485description: Trigger is the Schema for the Triggers API
486properties:
487apiVersion:
488description: 'APIVersion defines the versioned schema of this representation
489of an object. Servers should convert recognized schemas to the latest
490internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
491type: string
492kind:
493description: 'Kind is a string value representing the REST resource this
494object represents. Servers may infer this from the endpoint the client
495submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
496type: string
497metadata:
498type: object
499spec:
500properties:
501creationConfigs:
502description: Foo is an example field of Trigger. Edit Template_types.go
503to remove/update
504items:
505properties:
506action:
507type: string
508annotationNamespace:
509type: string
510annotationTrigger:
511type: string
512disableUniqueName:
513type: string
514labelSelector:
515description: A label selector is a label query over a set of
516resources. The result of matchLabels and matchExpressions
517are ANDed. An empty label selector matches all objects. A
518null label selector matches no objects.
519properties:
520matchExpressions:
521description: matchExpressions is a list of label selector
522requirements. The requirements are ANDed.
523items:
524description: A label selector requirement is a selector
525that contains values, a key, and an operator that relates
526the key and values.
527properties:
528key:
529description: key is the label key that the selector
530applies to.
531type: string
532operator:
533description: operator represents a key's relationship
534to a set of values. Valid operators are In, NotIn,
535Exists and DoesNotExist.
536type: string
537values:
538description: values is an array of string values.
539If the operator is In or NotIn, the values array
540must be non-empty. If the operator is Exists or
541DoesNotExist, the values array must be empty. This
542array is replaced during a strategic merge patch.
543items:
544type: string
545type: array
546required:
547- key
548- operator
549type: object
550type: array
551matchLabels:
552additionalProperties:
553type: string
554description: matchLabels is a map of {key,value} pairs.
555A single {key,value} in the matchLabels map is equivalent
556to an element of matchExpressions, whose key field is
557"key", the operator is "In", and the values array contains
558only "value". The requirements are ANDed.
559type: object
560type: object
561name:
562type: string
563templateRefs:
564items:
565type: string
566type: array
567required:
568- name
569- templateRefs
570type: object
571type: array
572mutationConfigs:
573items:
574properties:
575annotationNamespace:
576type: string
577annotationTrigger:
578type: string
579annotations:
580items:
581type: string
582type: array
583containers:
584items:
585type: string
586type: array
587ignoreNamespaces:
588items:
589type: string
590type: array
591labelSelector:
592description: A label selector is a label query over a set of
593resources. The result of matchLabels and matchExpressions
594are ANDed. An empty label selector matches all objects. A
595null label selector matches no objects.
596properties:
597matchExpressions:
598description: matchExpressions is a list of label selector
599requirements. The requirements are ANDed.
600items:
601description: A label selector requirement is a selector
602that contains values, a key, and an operator that relates
603the key and values.
604properties:
605key:
606description: key is the label key that the selector
607applies to.
608type: string
609operator:
610description: operator represents a key's relationship
611to a set of values. Valid operators are In, NotIn,
612Exists and DoesNotExist.
613type: string
614values:
615description: values is an array of string values.
616If the operator is In or NotIn, the values array
617must be non-empty. If the operator is Exists or
618DoesNotExist, the values array must be empty. This
619array is replaced during a strategic merge patch.
620items:
621type: string
622type: array
623required:
624- key
625- operator
626type: object
627type: array
628matchLabels:
629additionalProperties:
630type: string
631description: matchLabels is a map of {key,value} pairs.
632A single {key,value} in the matchLabels map is equivalent
633to an element of matchExpressions, whose key field is
634"key", the operator is "In", and the values array contains
635only "value". The requirements are ANDed.
636type: object
637type: object
638match:
639properties:
640annotationSelector:
641properties:
642matchExpressions:
643items:
644properties:
645key:
646type: string
647operator:
648enum:
649- In
650- NotIn
651- Exists
652- DoesNotExist
653type: string
654values:
655items:
656type: string
657type: array
658required:
659- key
660- operator
661type: object
662type: array
663required:
664- matchExpressions
665type: object
666excludedNamespaces:
667properties:
668regex:
669items:
670type: string
671type: array
672values:
673items:
674type: string
675type: array
676type: object
677kinds:
678items:
679properties:
680apiGroups:
681items:
682type: string
683type: array
684kinds:
685items:
686type: string
687type: array
688type: object
689type: array
690labelSelector:
691properties:
692matchExpressions:
693items:
694properties:
695key:
696type: string
697operator:
698enum:
699- In
700- NotIn
701- Exists
702- DoesNotExist
703type: string
704values:
705items:
706type: string
707type: array
708required:
709- key
710- operator
711type: object
712type: array
713required:
714- matchExpressions
715type: object
716matchConditions:
717properties:
718object:
719items:
720properties:
721condition:
722enum:
723- MustExist
724- MustNotExist
725type: string
726path:
727type: string
728required:
729- condition
730- path
731type: object
732type: array
733oldObject:
734items:
735properties:
736condition:
737enum:
738- MustExist
739- MustNotExist
740type: string
741path:
742type: string
743required:
744- condition
745- path
746type: object
747type: array
748type: object
749name:
750properties:
751regex:
752type: string
753value:
754type: string
755type: object
756namespaceSelector:
757properties:
758matchExpressions:
759items:
760properties:
761key:
762type: string
763operator:
764enum:
765- In
766- NotIn
767- Exists
768- DoesNotExist
769type: string
770values:
771items:
772type: string
773type: array
774required:
775- key
776- operator
777type: object
778type: array
779required:
780- matchExpressions
781type: object
782namespaces:
783properties:
784regex:
785items:
786type: string
787type: array
788values:
789items:
790type: string
791type: array
792type: object
793operations:
794items:
795type: string
796type: array
797scope:
798enum:
799- '*'
800- Cluster
801- Namespaced
802type: string
803userInfo:
804properties:
805username:
806type: string
807usernameRegex:
808type: string
809type: object
810required:
811- kinds
812type: object
813name:
814type: string
815objectSelector:
816properties:
817kind:
818type: string
819name:
820type: string
821required:
822- kind
823- name
824type: object
825templateRefs:
826items:
827type: string
828type: array
829updateStrategy:
830default: merge
831enum:
832- merge
833- replace
834type: string
835volumes:
836items:
837type: string
838type: array
839required:
840- name
841type: object
842type: array
843sideEffectConfigs:
844items:
845properties:
846match:
847properties:
848annotationSelector:
849properties:
850matchExpressions:
851items:
852properties:
853key:
854type: string
855operator:
856enum:
857- In
858- NotIn
859- Exists
860- DoesNotExist
861type: string
862values:
863items:
864type: string
865type: array
866required:
867- key
868- operator
869type: object
870type: array
871required:
872- matchExpressions
873type: object
874excludedNamespaces:
875properties:
876regex:
877items:
878type: string
879type: array
880values:
881items:
882type: string
883type: array
884type: object
885kinds:
886items:
887properties:
888apiGroups:
889items:
890type: string
891type: array
892kinds:
893items:
894type: string
895type: array
896type: object
897type: array
898labelSelector:
899properties:
900matchExpressions:
901items:
902properties:
903key:
904type: string
905operator:
906enum:
907- In
908- NotIn
909- Exists
910- DoesNotExist
911type: string
912values:
913items:
914type: string
915type: array
916required:
917- key
918- operator
919type: object
920type: array
921required:
922- matchExpressions
923type: object
924matchConditions:
925properties:
926object:
927items:
928properties:
929condition:
930enum:
931- MustExist
932- MustNotExist
933type: string
934path:
935type: string
936required:
937- condition
938- path
939type: object
940type: array
941oldObject:
942items:
943properties:
944condition:
945enum:
946- MustExist
947- MustNotExist
948type: string
949path:
950type: string
951required:
952- condition
953- path
954type: object
955type: array
956type: object
957name:
958properties:
959regex:
960type: string
961value:
962type: string
963type: object
964namespaceSelector:
965properties:
966matchExpressions:
967items:
968properties:
969key:
970type: string
971operator:
972enum:
973- In
974- NotIn
975- Exists
976- DoesNotExist
977type: string
978values:
979items:
980type: string
981type: array
982required:
983- key
984- operator
985type: object
986type: array
987required:
988- matchExpressions
989type: object
990namespaces:
991properties:
992regex:
993items:
994type: string
995type: array
996values:
997items:
998type: string
999type: array
1000type: object
1001operations:
1002items:
1003enum:
1004- CREATE
1005- UPDATE
1006- DELETE
1007type: string
1008type: array
1009scope:
1010enum:
1011- '*'
1012- Cluster
1013- Namespaced
1014type: string
1015userInfo:
1016properties:
1017username:
1018type: string
1019usernameRegex:
1020type: string
1021type: object
1022required:
1023- kinds
1024type: object
1025name:
1026type: string
1027templateRefs:
1028items:
1029type: string
1030type: array
1031required:
1032- match
1033- name
1034- templateRefs
1035type: object
1036type: array
1037type: object
1038status:
1039description: TriggerStatus defines the observed state of Trigger
1040properties:
1041conditions:
1042items:
1043properties:
1044lastTransitionTime:
1045format: date-time
1046type: string
1047message:
1048type: string
1049status:
1050type: string
1051type:
1052type: string
1053required:
1054- status
1055- type
1056type: object
1057type: array
1058phase:
1059type: string
1060type: object
1061type: object
1062served: true
1063storage: true
1064subresources:
1065status: {}
1066status:
1067acceptedNames:
1068kind: ""
1069plural: ""
1070conditions: []
1071storedVersions: []
1072