|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.19.0 |
| 7 | + name: compositionrevisions.apiextensions.crossplane.io |
| 8 | +spec: |
| 9 | + group: apiextensions.crossplane.io |
| 10 | + names: |
| 11 | + categories: |
| 12 | + - crossplane |
| 13 | + kind: CompositionRevision |
| 14 | + listKind: CompositionRevisionList |
| 15 | + plural: compositionrevisions |
| 16 | + shortNames: |
| 17 | + - comprev |
| 18 | + singular: compositionrevision |
| 19 | + scope: Cluster |
| 20 | + versions: |
| 21 | + - additionalPrinterColumns: |
| 22 | + - jsonPath: .spec.revision |
| 23 | + name: REVISION |
| 24 | + type: string |
| 25 | + - jsonPath: .spec.compositeTypeRef.kind |
| 26 | + name: XR-KIND |
| 27 | + type: string |
| 28 | + - jsonPath: .spec.compositeTypeRef.apiVersion |
| 29 | + name: XR-APIVERSION |
| 30 | + type: string |
| 31 | + - jsonPath: .metadata.creationTimestamp |
| 32 | + name: AGE |
| 33 | + type: date |
| 34 | + name: v1 |
| 35 | + schema: |
| 36 | + openAPIV3Schema: |
| 37 | + description: |- |
| 38 | + A CompositionRevision represents a revision of a Composition. Crossplane |
| 39 | + creates new revisions when there are changes to the Composition. |
| 40 | +
|
| 41 | + Crossplane creates and manages CompositionRevisions. Don't directly edit |
| 42 | + CompositionRevisions. |
| 43 | + properties: |
| 44 | + apiVersion: |
| 45 | + description: |- |
| 46 | + APIVersion defines the versioned schema of this representation of an object. |
| 47 | + Servers should convert recognized schemas to the latest internal value, and |
| 48 | + may reject unrecognized values. |
| 49 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 50 | + type: string |
| 51 | + kind: |
| 52 | + description: |- |
| 53 | + Kind is a string value representing the REST resource this object represents. |
| 54 | + Servers may infer this from the endpoint the client submits requests to. |
| 55 | + Cannot be updated. |
| 56 | + In CamelCase. |
| 57 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 58 | + type: string |
| 59 | + metadata: |
| 60 | + type: object |
| 61 | + spec: |
| 62 | + description: |- |
| 63 | + CompositionRevisionSpec specifies the desired state of the composition |
| 64 | + revision. |
| 65 | + properties: |
| 66 | + compositeTypeRef: |
| 67 | + description: |- |
| 68 | + CompositeTypeRef specifies the type of composite resource that this |
| 69 | + composition is compatible with. |
| 70 | + properties: |
| 71 | + apiVersion: |
| 72 | + description: APIVersion of the type. |
| 73 | + type: string |
| 74 | + kind: |
| 75 | + description: Kind of the type. |
| 76 | + type: string |
| 77 | + required: |
| 78 | + - apiVersion |
| 79 | + - kind |
| 80 | + type: object |
| 81 | + x-kubernetes-validations: |
| 82 | + - message: Value is immutable |
| 83 | + rule: self == oldSelf |
| 84 | + mode: |
| 85 | + default: Pipeline |
| 86 | + description: |- |
| 87 | + Mode controls what type or "mode" of Composition will be used. |
| 88 | +
|
| 89 | + "Pipeline" indicates that a Composition specifies a pipeline of |
| 90 | + functions, each of which is responsible for producing composed |
| 91 | + resources that Crossplane should create or update. |
| 92 | + enum: |
| 93 | + - Pipeline |
| 94 | + type: string |
| 95 | + pipeline: |
| 96 | + description: |- |
| 97 | + Pipeline is a list of function steps that will be used when a |
| 98 | + composite resource referring to this composition is created. |
| 99 | +
|
| 100 | + The Pipeline is only used by the "Pipeline" mode of Composition. It is |
| 101 | + ignored by other modes. |
| 102 | + items: |
| 103 | + description: A PipelineStep in a function pipeline. |
| 104 | + properties: |
| 105 | + credentials: |
| 106 | + description: Credentials are optional credentials that the function |
| 107 | + needs. |
| 108 | + items: |
| 109 | + description: |- |
| 110 | + FunctionCredentials are optional credentials that a function |
| 111 | + needs to run. |
| 112 | + properties: |
| 113 | + name: |
| 114 | + description: Name of this set of credentials. |
| 115 | + type: string |
| 116 | + secretRef: |
| 117 | + description: |- |
| 118 | + A SecretRef is a reference to a secret containing credentials that should |
| 119 | + be supplied to the function. |
| 120 | + properties: |
| 121 | + name: |
| 122 | + description: Name of the secret. |
| 123 | + type: string |
| 124 | + namespace: |
| 125 | + description: Namespace of the secret. |
| 126 | + type: string |
| 127 | + required: |
| 128 | + - name |
| 129 | + - namespace |
| 130 | + type: object |
| 131 | + source: |
| 132 | + description: Source of the function credentials. |
| 133 | + enum: |
| 134 | + - None |
| 135 | + - Secret |
| 136 | + type: string |
| 137 | + required: |
| 138 | + - name |
| 139 | + - source |
| 140 | + type: object |
| 141 | + x-kubernetes-validations: |
| 142 | + - message: the Secret source requires a secretRef |
| 143 | + rule: self.source == 'Secret' && has(self.secretRef) |
| 144 | + type: array |
| 145 | + x-kubernetes-list-map-keys: |
| 146 | + - name |
| 147 | + x-kubernetes-list-type: map |
| 148 | + functionRef: |
| 149 | + description: |- |
| 150 | + FunctionRef is a reference to the function this step should |
| 151 | + execute. |
| 152 | + properties: |
| 153 | + name: |
| 154 | + description: Name of the referenced Function. |
| 155 | + type: string |
| 156 | + required: |
| 157 | + - name |
| 158 | + type: object |
| 159 | + input: |
| 160 | + description: |- |
| 161 | + Input is an optional, arbitrary Kubernetes resource (i.e. a resource |
| 162 | + with an apiVersion and kind) that will be passed to the function as |
| 163 | + the 'input' of its RunFunctionRequest. |
| 164 | + type: object |
| 165 | + x-kubernetes-embedded-resource: true |
| 166 | + x-kubernetes-preserve-unknown-fields: true |
| 167 | + requirements: |
| 168 | + description: |- |
| 169 | + Requirements are resource requirements that will be satisfied before |
| 170 | + this pipeline step is called for the first time. This allows |
| 171 | + pre-populating required resources without requiring a function to |
| 172 | + request them first. |
| 173 | + properties: |
| 174 | + requiredResources: |
| 175 | + description: |- |
| 176 | + RequiredResources is a list of resources that must be fetched before |
| 177 | + this function is called. |
| 178 | + items: |
| 179 | + description: RequiredResourceSelector selects a required |
| 180 | + resource. |
| 181 | + properties: |
| 182 | + apiVersion: |
| 183 | + description: APIVersion of the required resource. |
| 184 | + type: string |
| 185 | + kind: |
| 186 | + description: Kind of the required resource. |
| 187 | + type: string |
| 188 | + matchLabels: |
| 189 | + additionalProperties: |
| 190 | + type: string |
| 191 | + description: |- |
| 192 | + MatchLabels specifies the set of labels to match for finding the |
| 193 | + required resource. When specified, Name is ignored. |
| 194 | + type: object |
| 195 | + name: |
| 196 | + description: Name of the required resource. |
| 197 | + type: string |
| 198 | + namespace: |
| 199 | + description: Namespace of the required resource if |
| 200 | + it is namespaced. |
| 201 | + type: string |
| 202 | + requirementName: |
| 203 | + description: |- |
| 204 | + RequirementName is the unique name to identify this required resource |
| 205 | + in the Required Resources map in the function request. |
| 206 | + type: string |
| 207 | + required: |
| 208 | + - apiVersion |
| 209 | + - kind |
| 210 | + - requirementName |
| 211 | + type: object |
| 212 | + x-kubernetes-validations: |
| 213 | + - message: name and matchLabels are mutually exclusive |
| 214 | + rule: '!(has(self.name) && has(self.matchLabels))' |
| 215 | + type: array |
| 216 | + x-kubernetes-list-map-keys: |
| 217 | + - requirementName |
| 218 | + x-kubernetes-list-type: map |
| 219 | + requiredSchemas: |
| 220 | + description: |- |
| 221 | + RequiredSchemas is a list of OpenAPI schemas that must be fetched before |
| 222 | + this function is called. |
| 223 | + items: |
| 224 | + description: RequiredSchemaSelector selects a required |
| 225 | + OpenAPI schema. |
| 226 | + properties: |
| 227 | + apiVersion: |
| 228 | + description: APIVersion of the resource kind whose |
| 229 | + schema is required, e.g. "example.org/v1". |
| 230 | + type: string |
| 231 | + kind: |
| 232 | + description: Kind of resource whose schema is required, |
| 233 | + e.g. "MyResource". |
| 234 | + type: string |
| 235 | + requirementName: |
| 236 | + description: |- |
| 237 | + RequirementName is the unique name to identify this required schema |
| 238 | + in the Required Schemas map in the function request. |
| 239 | + type: string |
| 240 | + required: |
| 241 | + - apiVersion |
| 242 | + - kind |
| 243 | + - requirementName |
| 244 | + type: object |
| 245 | + type: array |
| 246 | + x-kubernetes-list-map-keys: |
| 247 | + - requirementName |
| 248 | + x-kubernetes-list-type: map |
| 249 | + type: object |
| 250 | + step: |
| 251 | + description: Step name. Must be unique within its Pipeline. |
| 252 | + type: string |
| 253 | + required: |
| 254 | + - functionRef |
| 255 | + - step |
| 256 | + type: object |
| 257 | + type: array |
| 258 | + x-kubernetes-list-map-keys: |
| 259 | + - step |
| 260 | + x-kubernetes-list-type: map |
| 261 | + revision: |
| 262 | + description: |- |
| 263 | + Revision number. Newer revisions have larger numbers. |
| 264 | +
|
| 265 | + This number can change. When a Composition transitions from state A |
| 266 | + -> B -> A there will be only two CompositionRevisions. Crossplane will |
| 267 | + edit the original CompositionRevision to change its revision number from |
| 268 | + 0 to 2. |
| 269 | + format: int64 |
| 270 | + type: integer |
| 271 | + writeConnectionSecretsToNamespace: |
| 272 | + description: |- |
| 273 | + WriteConnectionSecretsToNamespace specifies the namespace in which the |
| 274 | + connection secrets of composite resource dynamically provisioned using |
| 275 | + this composition will be created. |
| 276 | + type: string |
| 277 | + required: |
| 278 | + - compositeTypeRef |
| 279 | + - revision |
| 280 | + type: object |
| 281 | + status: |
| 282 | + description: |- |
| 283 | + CompositionRevisionStatus shows the observed state of the composition |
| 284 | + revision. |
| 285 | + properties: |
| 286 | + conditions: |
| 287 | + description: Conditions of the resource. |
| 288 | + items: |
| 289 | + description: A Condition that may apply to a resource. |
| 290 | + properties: |
| 291 | + lastTransitionTime: |
| 292 | + description: |- |
| 293 | + LastTransitionTime is the last time this condition transitioned from one |
| 294 | + status to another. |
| 295 | + format: date-time |
| 296 | + type: string |
| 297 | + message: |
| 298 | + description: |- |
| 299 | + A Message containing details about this condition's last transition from |
| 300 | + one status to another, if any. |
| 301 | + type: string |
| 302 | + observedGeneration: |
| 303 | + description: |- |
| 304 | + ObservedGeneration represents the .metadata.generation that the condition was set based upon. |
| 305 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 306 | + with respect to the current state of the instance. |
| 307 | + format: int64 |
| 308 | + type: integer |
| 309 | + reason: |
| 310 | + description: A Reason for this condition's last transition from |
| 311 | + one status to another. |
| 312 | + type: string |
| 313 | + status: |
| 314 | + description: Status of this condition; is it currently True, |
| 315 | + False, or Unknown? |
| 316 | + type: string |
| 317 | + type: |
| 318 | + description: |- |
| 319 | + Type of this condition. At most one of each condition type may apply to |
| 320 | + a resource at any point in time. |
| 321 | + type: string |
| 322 | + required: |
| 323 | + - lastTransitionTime |
| 324 | + - reason |
| 325 | + - status |
| 326 | + - type |
| 327 | + type: object |
| 328 | + type: array |
| 329 | + x-kubernetes-list-map-keys: |
| 330 | + - type |
| 331 | + x-kubernetes-list-type: map |
| 332 | + type: object |
| 333 | + type: object |
| 334 | + served: true |
| 335 | + storage: true |
| 336 | + subresources: |
| 337 | + status: {} |
0 commit comments