|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.15.0 |
| 6 | + creationTimestamp: null |
| 7 | + name: eventtriggers.vertica.com |
| 8 | +spec: |
| 9 | + conversion: |
| 10 | + strategy: None |
| 11 | + group: vertica.com |
| 12 | + names: |
| 13 | + categories: |
| 14 | + - vertica |
| 15 | + kind: EventTrigger |
| 16 | + listKind: EventTriggerList |
| 17 | + plural: eventtriggers |
| 18 | + shortNames: |
| 19 | + - et |
| 20 | + singular: eventtrigger |
| 21 | + scope: Namespaced |
| 22 | + versions: |
| 23 | + - name: v1beta1 |
| 24 | + schema: |
| 25 | + openAPIV3Schema: |
| 26 | + description: EventTrigger is the Schema for the eventtriggers API |
| 27 | + properties: |
| 28 | + apiVersion: |
| 29 | + description: |- |
| 30 | + APIVersion defines the versioned schema of this representation of an object. |
| 31 | + Servers should convert recognized schemas to the latest internal value, and |
| 32 | + may reject unrecognized values. |
| 33 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 34 | + type: string |
| 35 | + kind: |
| 36 | + description: |- |
| 37 | + Kind is a string value representing the REST resource this object represents. |
| 38 | + Servers may infer this from the endpoint the client submits requests to. |
| 39 | + Cannot be updated. |
| 40 | + In CamelCase. |
| 41 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 42 | + type: string |
| 43 | + metadata: |
| 44 | + type: object |
| 45 | + spec: |
| 46 | + description: |- |
| 47 | + EventTriggerSpec defines how to find objects that apply, what the match |
| 48 | + condition and a job template spec that gets created when a match occurs. |
| 49 | + properties: |
| 50 | + matches: |
| 51 | + description: |- |
| 52 | + List of things that must be matched in order for the Job to be |
| 53 | + created. Multiple matches are combined with AND logic. |
| 54 | + items: |
| 55 | + description: ETMatch defines a condition to match that will trigger |
| 56 | + job creation. |
| 57 | + properties: |
| 58 | + condition: |
| 59 | + description: Details about a status condition that must match. |
| 60 | + properties: |
| 61 | + status: |
| 62 | + description: The expected value of the status condition |
| 63 | + when a match occurs. |
| 64 | + type: string |
| 65 | + type: |
| 66 | + description: The name of the status condition to check. |
| 67 | + type: string |
| 68 | + required: |
| 69 | + - status |
| 70 | + - type |
| 71 | + type: object |
| 72 | + type: object |
| 73 | + type: array |
| 74 | + references: |
| 75 | + description: Objects that this event trigger will apply too. |
| 76 | + items: |
| 77 | + description: |- |
| 78 | + ETReference is a way to identify an object or set of objects that will be |
| 79 | + watched. |
| 80 | + properties: |
| 81 | + object: |
| 82 | + description: |- |
| 83 | + A single object, given by GVK + namespace + name, that this event trigger |
| 84 | + will apply too. |
| 85 | + properties: |
| 86 | + apiVersion: |
| 87 | + description: The API version of the reference object |
| 88 | + type: string |
| 89 | + kind: |
| 90 | + description: The kind of the reference object |
| 91 | + type: string |
| 92 | + name: |
| 93 | + description: |- |
| 94 | + The name of the reference object. This doesn't have to exist prior to |
| 95 | + creating the CR. |
| 96 | + type: string |
| 97 | + namespace: |
| 98 | + description: The namespace that the reference object exists |
| 99 | + in. |
| 100 | + type: string |
| 101 | + required: |
| 102 | + - apiVersion |
| 103 | + - kind |
| 104 | + - name |
| 105 | + type: object |
| 106 | + type: object |
| 107 | + type: array |
| 108 | + template: |
| 109 | + description: |- |
| 110 | + A template of a Job that will get created when the conditions are met for |
| 111 | + any reference object. |
| 112 | + properties: |
| 113 | + metadata: |
| 114 | + description: |- |
| 115 | + The job's object meta data. At a minimum, the name or generateName must |
| 116 | + be set. |
| 117 | + properties: |
| 118 | + annotations: |
| 119 | + additionalProperties: |
| 120 | + type: string |
| 121 | + description: |- |
| 122 | + Annotations is an unstructured key value map stored with a resource that may be |
| 123 | + set by external tools to store and retrieve arbitrary metadata. They are not |
| 124 | + queryable and should be preserved when modifying objects. |
| 125 | + type: object |
| 126 | + generateName: |
| 127 | + description: |- |
| 128 | + GenerateName is an optional prefix, used by the server, to generate a unique |
| 129 | + name ONLY IF the Name field has not been provided. |
| 130 | + type: string |
| 131 | + labels: |
| 132 | + additionalProperties: |
| 133 | + type: string |
| 134 | + description: |- |
| 135 | + Map of string keys and values that can be used to organize and categorize |
| 136 | + (scope and select) objects. |
| 137 | + type: object |
| 138 | + name: |
| 139 | + description: Name must be unique within a namespace. Can be |
| 140 | + omitted if GenerateName is provided. |
| 141 | + type: string |
| 142 | + type: object |
| 143 | + spec: |
| 144 | + description: Specification of the desired behavior of the job. |
| 145 | + x-kubernetes-preserve-unknown-fields: true |
| 146 | + required: |
| 147 | + - metadata |
| 148 | + - spec |
| 149 | + type: object |
| 150 | + required: |
| 151 | + - matches |
| 152 | + - references |
| 153 | + - template |
| 154 | + type: object |
| 155 | + status: |
| 156 | + description: EventTriggerStatus defines the observed state of EventTrigger |
| 157 | + properties: |
| 158 | + references: |
| 159 | + description: Status about each of the reference objects |
| 160 | + items: |
| 161 | + description: ETRefObjectStatus provides status information about |
| 162 | + a single reference object |
| 163 | + properties: |
| 164 | + apiVersion: |
| 165 | + description: The API version of the reference object |
| 166 | + type: string |
| 167 | + jobName: |
| 168 | + description: |- |
| 169 | + If a job was created because a match was found for this reference object, |
| 170 | + this is the name of the last job that was created. This pairs with the |
| 171 | + jobNamespace parameter to uniquely identify the job. |
| 172 | + type: string |
| 173 | + jobNamespace: |
| 174 | + description: |- |
| 175 | + If a job was created because a match was found for this reference object, |
| 176 | + this is the namespace the job is found in. This pairs with the jobName |
| 177 | + parameter to uniquely identify the job. |
| 178 | + type: string |
| 179 | + jobsCreated: |
| 180 | + description: The number of jobs that have been created for this |
| 181 | + reference object. |
| 182 | + type: integer |
| 183 | + kind: |
| 184 | + description: The kind of the reference object |
| 185 | + type: string |
| 186 | + name: |
| 187 | + description: |- |
| 188 | + The name of the reference object. This doesn't have to exist prior to |
| 189 | + creating the CR. |
| 190 | + type: string |
| 191 | + namespace: |
| 192 | + description: The namespace that the reference object exists |
| 193 | + in. |
| 194 | + type: string |
| 195 | + resourceVersion: |
| 196 | + description: The last known resource version of the reference |
| 197 | + object |
| 198 | + type: string |
| 199 | + uid: |
| 200 | + description: The uid of the reference object |
| 201 | + type: string |
| 202 | + required: |
| 203 | + - apiVersion |
| 204 | + - jobName |
| 205 | + - jobNamespace |
| 206 | + - kind |
| 207 | + - name |
| 208 | + - resourceVersion |
| 209 | + - uid |
| 210 | + type: object |
| 211 | + type: array |
| 212 | + required: |
| 213 | + - references |
| 214 | + type: object |
| 215 | + type: object |
| 216 | + served: true |
| 217 | + storage: true |
| 218 | + subresources: |
| 219 | + status: {} |
| 220 | +status: |
| 221 | + acceptedNames: |
| 222 | + kind: "" |
| 223 | + plural: "" |
| 224 | + conditions: null |
| 225 | + storedVersions: null |
0 commit comments