kubelatte-ce
Форк от sbertech/kubelatte-ce
1071 строка · 43.6 Кб
1---
2apiVersion: apiextensions.k8s.io/v13kind: CustomResourceDefinition4metadata:5annotations:6controller-gen.kubebuilder.io/version: v0.8.07name: scopes.kubelatte.io8spec:9group: kubelatte.io10names:11kind: Scope12listKind: ScopeList13plural: scopes14singular: scope15scope: Namespaced16versions:17- name: v1alpha118schema:19openAPIV3Schema:20description: Scope is the Schema for the Scopes API21properties:22apiVersion:23description: 'APIVersion defines the versioned schema of this representation24of 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: string27kind:28description: 'Kind is a string value representing the REST resource this29object 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: string32metadata:33type: object34spec:35properties:36items:37items:38description: Item ScopeItems defines items of Scope39properties:40apiVersion:41type: string42kind:43type: string44match:45properties:46annotationSelector:47properties:48matchExpressions:49items:50properties:51key:52type: string53operator:54enum:55- In56- NotIn57- Exists58- DoesNotExist59type: string60values:61items:62type: string63type: array64required:65- key66- operator67type: object68type: array69required:70- matchExpressions71type: object72excludedNamespaces:73properties:74regex:75items:76type: string77type: array78values:79items:80type: string81type: array82type: object83kinds:84items:85properties:86apiGroups:87items:88type: string89type: array90kinds:91items:92type: string93type: array94type: object95type: array96labelSelector:97properties:98matchExpressions:99items:100properties:101key:102type: string103operator:104enum:105- In106- NotIn107- Exists108- DoesNotExist109type: string110values:111items:112type: string113type: array114required:115- key116- operator117type: object118type: array119required:120- matchExpressions121type: object122matchConditions:123properties:124object:125items:126properties:127condition:128enum:129- MustExist130- MustNotExist131type: string132path:133type: string134required:135- condition136- path137type: object138type: array139oldObject:140items:141properties:142condition:143enum:144- MustExist145- MustNotExist146type: string147path:148type: string149required:150- condition151- path152type: object153type: array154type: object155name:156properties:157regex:158type: string159value:160type: string161type: object162namespaceSelector:163properties:164matchExpressions:165items:166properties:167key:168type: string169operator:170enum:171- In172- NotIn173- Exists174- DoesNotExist175type: string176values:177items:178type: string179type: array180required:181- key182- operator183type: object184type: array185required:186- matchExpressions187type: object188namespaces:189properties:190regex:191items:192type: string193type: array194values:195items:196type: string197type: array198type: object199operations:200items:201type: string202type: array203scope:204enum:205- '*'206- Cluster207- Namespaced208type: string209userInfo:210properties:211username:212type: string213usernameRegex:214type: string215type: object216required:217- kinds218type: object219name:220type: string221path:222type: string223rule:224properties:225rego:226properties:227parameters:228type: string229template:230type: string231required:232- template233type: object234simples:235items:236properties:237action:238default: deny239enum:240- allow241- deny242type: string243message:244type: string245name:246type: string247path:248type: string249value:250type: string251required:252- name253- path254- value255type: object256type: array257type: object258value:259type: string260required:261- name262type: object263type: array264type:265default: mutation266type: string267required:268- items269type: object270status:271properties:272conditions:273items:274properties:275lastTransitionTime:276format: date-time277type: string278message:279type: string280status:281type: string282type:283type: string284required:285- status286- type287type: object288type: array289phase:290description: 'INSERT ADDITIONAL STATUS FIELD - define observed state291of cluster Important: Run "make" to regenerate code after modifying292this file'
293type: string294type: object295type: object296served: true297storage: true298subresources:299status: {}300status:301acceptedNames:302kind: ""303plural: ""304conditions: []305storedVersions: []306---
307apiVersion: apiextensions.k8s.io/v1308kind: CustomResourceDefinition309metadata:310annotations:311controller-gen.kubebuilder.io/version: v0.8.0312name: templates.kubelatte.io313spec:314group: kubelatte.io315names:316kind: Template317listKind: TemplateList318plural: templates319singular: template320scope: Namespaced321versions:322- name: v1alpha1323schema:324openAPIV3Schema:325properties:326apiVersion:327description: 'APIVersion defines the versioned schema of this representation328of 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: string331kind:332description: 'Kind is a string value representing the REST resource this333object 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: string336metadata:337type: object338spec:339description: TemplateSpec defines the desired state of Template340properties:341apiVersion:342type: string343data:344type: string345kind:346type: string347type:348type: string349required:350- data351type: object352status:353description: TemplateStatus defines the observed state of Template354properties:355conditions:356items:357properties:358lastTransitionTime:359format: date-time360type: string361message:362type: string363status:364type: string365type:366type: string367required:368- status369- type370type: object371type: array372phase:373type: string374type: object375type: object376served: true377storage: true378subresources:379status: {}380status:381acceptedNames:382kind: ""383plural: ""384conditions: []385storedVersions: []386---
387apiVersion: apiextensions.k8s.io/v1388kind: CustomResourceDefinition389metadata:390annotations:391controller-gen.kubebuilder.io/version: v0.8.0392name: triggerinstances.kubelatte.io393spec:394group: kubelatte.io395names:396kind: TriggerInstance397listKind: TriggerInstanceList398plural: triggerinstances399singular: triggerinstance400scope: Namespaced401versions:402- name: v1alpha1403schema:404openAPIV3Schema:405description: TriggerInstance is the Schema for the triggerinstances API406properties:407apiVersion:408description: 'APIVersion defines the versioned schema of this representation409of 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: string412kind:413description: 'Kind is a string value representing the REST resource this414object 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: string417metadata:418type: object419spec:420description: TriggerInstanceSpec defines the desired state of TriggerInstance421properties:422data:423description: 'INSERT ADDITIONAL SPEC FIELDS - desired state of cluster424Important: Run "make" to regenerate code after modifying this file'425type: string426x-kubernetes-preserve-unknown-fields: true427type: object428status:429description: TriggerInstanceStatus defines the observed state of TriggerInstance430properties:431resourcestatus:432description: 'INSERT ADDITIONAL STATUS FIELD - define observed state433of cluster Important: Run "make" to regenerate code after modifying434this file'
435items:436properties:437apiVersion:438type: string439kind:440type: string441message:442type: string443name:444type: string445phase:446type: string447status:448type: string449type: object450x-kubernetes-preserve-unknown-fields: true451type: array452required:453- resourcestatus454type: object455type: object456served: true457storage: true458subresources:459status: {}460status:461acceptedNames:462kind: ""463plural: ""464conditions: []465storedVersions: []466---
467apiVersion: apiextensions.k8s.io/v1468kind: CustomResourceDefinition469metadata:470annotations:471controller-gen.kubebuilder.io/version: v0.8.0472name: triggers.kubelatte.io473spec:474group: kubelatte.io475names:476kind: Trigger477listKind: TriggerList478plural: triggers479singular: trigger480scope: Namespaced481versions:482- name: v1alpha1483schema:484openAPIV3Schema:485description: Trigger is the Schema for the Triggers API486properties:487apiVersion:488description: 'APIVersion defines the versioned schema of this representation489of 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: string492kind:493description: 'Kind is a string value representing the REST resource this494object 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: string497metadata:498type: object499spec:500properties:501creationConfigs:502description: Foo is an example field of Trigger. Edit Template_types.go503to remove/update
504items:505properties:506action:507type: string508annotationNamespace:509type: string510annotationTrigger:511type: string512disableUniqueName:513type: string514labelSelector:515description: A label selector is a label query over a set of516resources. 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 selector522requirements. The requirements are ANDed.
523items:524description: A label selector requirement is a selector525that contains values, a key, and an operator that relates526the key and values.
527properties:528key:529description: key is the label key that the selector530applies to.
531type: string532operator:533description: operator represents a key's relationship534to a set of values. Valid operators are In, NotIn,535Exists and DoesNotExist.
536type: string537values:538description: values is an array of string values.539If the operator is In or NotIn, the values array540must be non-empty. If the operator is Exists or541DoesNotExist, the values array must be empty. This542array is replaced during a strategic merge patch.
543items:544type: string545type: array546required:547- key548- operator549type: object550type: array551matchLabels:552additionalProperties:553type: string554description: matchLabels is a map of {key,value} pairs.555A single {key,value} in the matchLabels map is equivalent556to an element of matchExpressions, whose key field is557"key", the operator is "In", and the values array contains558only "value". The requirements are ANDed.
559type: object560type: object561name:562type: string563templateRefs:564items:565type: string566type: array567required:568- name569- templateRefs570type: object571type: array572mutationConfigs:573items:574properties:575annotationNamespace:576type: string577annotationTrigger:578type: string579annotations:580items:581type: string582type: array583containers:584items:585type: string586type: array587ignoreNamespaces:588items:589type: string590type: array591labelSelector:592description: A label selector is a label query over a set of593resources. 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 selector599requirements. The requirements are ANDed.
600items:601description: A label selector requirement is a selector602that contains values, a key, and an operator that relates603the key and values.
604properties:605key:606description: key is the label key that the selector607applies to.
608type: string609operator:610description: operator represents a key's relationship611to a set of values. Valid operators are In, NotIn,612Exists and DoesNotExist.
613type: string614values:615description: values is an array of string values.616If the operator is In or NotIn, the values array617must be non-empty. If the operator is Exists or618DoesNotExist, the values array must be empty. This619array is replaced during a strategic merge patch.
620items:621type: string622type: array623required:624- key625- operator626type: object627type: array628matchLabels:629additionalProperties:630type: string631description: matchLabels is a map of {key,value} pairs.632A single {key,value} in the matchLabels map is equivalent633to an element of matchExpressions, whose key field is634"key", the operator is "In", and the values array contains635only "value". The requirements are ANDed.
636type: object637type: object638match:639properties:640annotationSelector:641properties:642matchExpressions:643items:644properties:645key:646type: string647operator:648enum:649- In650- NotIn651- Exists652- DoesNotExist653type: string654values:655items:656type: string657type: array658required:659- key660- operator661type: object662type: array663required:664- matchExpressions665type: object666excludedNamespaces:667properties:668regex:669items:670type: string671type: array672values:673items:674type: string675type: array676type: object677kinds:678items:679properties:680apiGroups:681items:682type: string683type: array684kinds:685items:686type: string687type: array688type: object689type: array690labelSelector:691properties:692matchExpressions:693items:694properties:695key:696type: string697operator:698enum:699- In700- NotIn701- Exists702- DoesNotExist703type: string704values:705items:706type: string707type: array708required:709- key710- operator711type: object712type: array713required:714- matchExpressions715type: object716matchConditions:717properties:718object:719items:720properties:721condition:722enum:723- MustExist724- MustNotExist725type: string726path:727type: string728required:729- condition730- path731type: object732type: array733oldObject:734items:735properties:736condition:737enum:738- MustExist739- MustNotExist740type: string741path:742type: string743required:744- condition745- path746type: object747type: array748type: object749name:750properties:751regex:752type: string753value:754type: string755type: object756namespaceSelector:757properties:758matchExpressions:759items:760properties:761key:762type: string763operator:764enum:765- In766- NotIn767- Exists768- DoesNotExist769type: string770values:771items:772type: string773type: array774required:775- key776- operator777type: object778type: array779required:780- matchExpressions781type: object782namespaces:783properties:784regex:785items:786type: string787type: array788values:789items:790type: string791type: array792type: object793operations:794items:795type: string796type: array797scope:798enum:799- '*'800- Cluster801- Namespaced802type: string803userInfo:804properties:805username:806type: string807usernameRegex:808type: string809type: object810required:811- kinds812type: object813name:814type: string815objectSelector:816properties:817kind:818type: string819name:820type: string821required:822- kind823- name824type: object825templateRefs:826items:827type: string828type: array829updateStrategy:830default: merge831enum:832- merge833- replace834type: string835volumes:836items:837type: string838type: array839required:840- name841type: object842type: array843sideEffectConfigs:844items:845properties:846match:847properties:848annotationSelector:849properties:850matchExpressions:851items:852properties:853key:854type: string855operator:856enum:857- In858- NotIn859- Exists860- DoesNotExist861type: string862values:863items:864type: string865type: array866required:867- key868- operator869type: object870type: array871required:872- matchExpressions873type: object874excludedNamespaces:875properties:876regex:877items:878type: string879type: array880values:881items:882type: string883type: array884type: object885kinds:886items:887properties:888apiGroups:889items:890type: string891type: array892kinds:893items:894type: string895type: array896type: object897type: array898labelSelector:899properties:900matchExpressions:901items:902properties:903key:904type: string905operator:906enum:907- In908- NotIn909- Exists910- DoesNotExist911type: string912values:913items:914type: string915type: array916required:917- key918- operator919type: object920type: array921required:922- matchExpressions923type: object924matchConditions:925properties:926object:927items:928properties:929condition:930enum:931- MustExist932- MustNotExist933type: string934path:935type: string936required:937- condition938- path939type: object940type: array941oldObject:942items:943properties:944condition:945enum:946- MustExist947- MustNotExist948type: string949path:950type: string951required:952- condition953- path954type: object955type: array956type: object957name:958properties:959regex:960type: string961value:962type: string963type: object964namespaceSelector:965properties:966matchExpressions:967items:968properties:969key:970type: string971operator:972enum:973- In974- NotIn975- Exists976- DoesNotExist977type: string978values:979items:980type: string981type: array982required:983- key984- operator985type: object986type: array987required:988- matchExpressions989type: object990namespaces:991properties:992regex:993items:994type: string995type: array996values:997items:998type: string999type: array1000type: object1001operations:1002items:1003enum:1004- CREATE1005- UPDATE1006- DELETE1007type: string1008type: array1009scope:1010enum:1011- '*'1012- Cluster1013- Namespaced1014type: string1015userInfo:1016properties:1017username:1018type: string1019usernameRegex:1020type: string1021type: object1022required:1023- kinds1024type: object1025name:1026type: string1027templateRefs:1028items:1029type: string1030type: array1031required:1032- match1033- name1034- templateRefs1035type: object1036type: array1037type: object1038status:1039description: TriggerStatus defines the observed state of Trigger1040properties:1041conditions:1042items:1043properties:1044lastTransitionTime:1045format: date-time1046type: string1047message:1048type: string1049status:1050type: string1051type:1052type: string1053required:1054- status1055- type1056type: object1057type: array1058phase:1059type: string1060type: object1061type: object1062served: true1063storage: true1064subresources:1065status: {}1066status:1067acceptedNames:1068kind: ""1069plural: ""1070conditions: []1071storedVersions: []1072