kubelatte-ce
Форк от sbertech/kubelatte-ce
606 строк · 24.7 Кб
1---
2apiVersion: apiextensions.k8s.io/v13kind: CustomResourceDefinition4metadata:5annotations:6controller-gen.kubebuilder.io/version: v0.8.07creationTimestamp: null8name: triggers.kubelatte.io9spec:10group: kubelatte.io11names:12kind: Trigger13listKind: TriggerList14plural: triggers15singular: trigger16scope: Namespaced17versions:18- name: v1alpha119schema:20openAPIV3Schema:21description: Trigger is the Schema for the Triggers API22properties:23apiVersion:24description: 'APIVersion defines the versioned schema of this representation25of 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: string28kind:29description: 'Kind is a string value representing the REST resource this30object 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: string33metadata:34type: object35spec:36properties:37creationConfigs:38description: Foo is an example field of Trigger. Edit Template_types.go39to remove/update
40items:41properties:42action:43type: string44annotationNamespace:45type: string46annotationTrigger:47type: string48disableUniqueName:49type: string50labelSelector:51description: A label selector is a label query over a set of52resources. 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 selector58requirements. The requirements are ANDed.
59items:60description: A label selector requirement is a selector61that contains values, a key, and an operator that relates62the key and values.
63properties:64key:65description: key is the label key that the selector66applies to.
67type: string68operator:69description: operator represents a key's relationship70to a set of values. Valid operators are In, NotIn,71Exists and DoesNotExist.
72type: string73values:74description: values is an array of string values.75If the operator is In or NotIn, the values array76must be non-empty. If the operator is Exists or77DoesNotExist, the values array must be empty. This78array is replaced during a strategic merge patch.
79items:80type: string81type: array82required:83- key84- operator85type: object86type: array87matchLabels:88additionalProperties:89type: string90description: matchLabels is a map of {key,value} pairs.91A single {key,value} in the matchLabels map is equivalent92to an element of matchExpressions, whose key field is93"key", the operator is "In", and the values array contains94only "value". The requirements are ANDed.
95type: object96type: object97name:98type: string99templateRefs:100items:101type: string102type: array103required:104- name105- templateRefs106type: object107type: array108mutationConfigs:109items:110properties:111annotationNamespace:112type: string113annotationTrigger:114type: string115annotations:116items:117type: string118type: array119containers:120items:121type: string122type: array123ignoreNamespaces:124items:125type: string126type: array127labelSelector:128description: A label selector is a label query over a set of129resources. 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 selector135requirements. The requirements are ANDed.
136items:137description: A label selector requirement is a selector138that contains values, a key, and an operator that relates139the key and values.
140properties:141key:142description: key is the label key that the selector143applies to.
144type: string145operator:146description: operator represents a key's relationship147to a set of values. Valid operators are In, NotIn,148Exists and DoesNotExist.
149type: string150values:151description: values is an array of string values.152If the operator is In or NotIn, the values array153must be non-empty. If the operator is Exists or154DoesNotExist, the values array must be empty. This155array is replaced during a strategic merge patch.
156items:157type: string158type: array159required:160- key161- operator162type: object163type: array164matchLabels:165additionalProperties:166type: string167description: matchLabels is a map of {key,value} pairs.168A single {key,value} in the matchLabels map is equivalent169to an element of matchExpressions, whose key field is170"key", the operator is "In", and the values array contains171only "value". The requirements are ANDed.
172type: object173type: object174match:175properties:176annotationSelector:177properties:178matchExpressions:179items:180properties:181key:182type: string183operator:184enum:185- In186- NotIn187- Exists188- DoesNotExist189type: string190values:191items:192type: string193type: array194required:195- key196- operator197type: object198type: array199required:200- matchExpressions201type: object202excludedNamespaces:203properties:204regex:205items:206type: string207type: array208values:209items:210type: string211type: array212type: object213kinds:214items:215properties:216apiGroups:217items:218type: string219type: array220kinds:221items:222type: string223type: array224type: object225type: array226labelSelector:227properties:228matchExpressions:229items:230properties:231key:232type: string233operator:234enum:235- In236- NotIn237- Exists238- DoesNotExist239type: string240values:241items:242type: string243type: array244required:245- key246- operator247type: object248type: array249required:250- matchExpressions251type: object252matchConditions:253properties:254object:255items:256properties:257condition:258enum:259- MustExist260- MustNotExist261type: string262path:263type: string264required:265- condition266- path267type: object268type: array269oldObject:270items:271properties:272condition:273enum:274- MustExist275- MustNotExist276type: string277path:278type: string279required:280- condition281- path282type: object283type: array284type: object285name:286properties:287regex:288type: string289value:290type: string291type: object292namespaceSelector:293properties:294matchExpressions:295items:296properties:297key:298type: string299operator:300enum:301- In302- NotIn303- Exists304- DoesNotExist305type: string306values:307items:308type: string309type: array310required:311- key312- operator313type: object314type: array315required:316- matchExpressions317type: object318namespaces:319properties:320regex:321items:322type: string323type: array324values:325items:326type: string327type: array328type: object329operations:330items:331type: string332type: array333scope:334enum:335- '*'336- Cluster337- Namespaced338type: string339userInfo:340properties:341username:342type: string343usernameRegex:344type: string345type: object346required:347- kinds348type: object349name:350type: string351objectSelector:352properties:353kind:354type: string355name:356type: string357required:358- kind359- name360type: object361templateRefs:362items:363type: string364type: array365updateStrategy:366default: merge367enum:368- merge369- replace370type: string371volumes:372items:373type: string374type: array375required:376- name377type: object378type: array379sideEffectConfigs:380items:381properties:382match:383properties:384annotationSelector:385properties:386matchExpressions:387items:388properties:389key:390type: string391operator:392enum:393- In394- NotIn395- Exists396- DoesNotExist397type: string398values:399items:400type: string401type: array402required:403- key404- operator405type: object406type: array407required:408- matchExpressions409type: object410excludedNamespaces:411properties:412regex:413items:414type: string415type: array416values:417items:418type: string419type: array420type: object421kinds:422items:423properties:424apiGroups:425items:426type: string427type: array428kinds:429items:430type: string431type: array432type: object433type: array434labelSelector:435properties:436matchExpressions:437items:438properties:439key:440type: string441operator:442enum:443- In444- NotIn445- Exists446- DoesNotExist447type: string448values:449items:450type: string451type: array452required:453- key454- operator455type: object456type: array457required:458- matchExpressions459type: object460matchConditions:461properties:462object:463items:464properties:465condition:466enum:467- MustExist468- MustNotExist469type: string470path:471type: string472required:473- condition474- path475type: object476type: array477oldObject:478items:479properties:480condition:481enum:482- MustExist483- MustNotExist484type: string485path:486type: string487required:488- condition489- path490type: object491type: array492type: object493name:494properties:495regex:496type: string497value:498type: string499type: object500namespaceSelector:501properties:502matchExpressions:503items:504properties:505key:506type: string507operator:508enum:509- In510- NotIn511- Exists512- DoesNotExist513type: string514values:515items:516type: string517type: array518required:519- key520- operator521type: object522type: array523required:524- matchExpressions525type: object526namespaces:527properties:528regex:529items:530type: string531type: array532values:533items:534type: string535type: array536type: object537operations:538items:539type: string540type: array541scope:542enum:543- '*'544- Cluster545- Namespaced546type: string547userInfo:548properties:549username:550type: string551usernameRegex:552type: string553type: object554required:555- kinds556type: object557name:558type: string559recreate:560default: false561type: boolean562templateRefs:563items:564type: string565type: array566required:567- match568- name569- templateRefs570type: object571type: array572type: object573status:574description: TriggerStatus defines the observed state of Trigger575properties:576conditions:577items:578properties:579lastTransitionTime:580format: date-time581type: string582message:583type: string584status:585type: string586type:587type: string588required:589- status590- type591type: object592type: array593phase:594type: string595type: object596type: object597served: true598storage: true599subresources:600status: {}601status:602acceptedNames:603kind: ""604plural: ""605conditions: []606storedVersions: []607