upbound/configuration-getting-started@v0.3.0
xdatabases.platform.acme.co

xdatabases.platform.acme.co

xdatabases.platform.acme.co
upbound/configuration-getting-started@v0.3.0xdatabases.platform.acme.co
Type

Composition

Referenced XRD

XDatabase

Source Codegithub.com/upbound/configuration-getting-started
YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: xdatabases.platform.acme.co
  creationTimestamp: null
spec:
  compositeTypeRef:
    apiVersion: platform.acme.co/v1alpha1
    kind: XDatabase
  mode: Pipeline
  pipeline:
    - step: compose
      functionRef:
        name: crossplane-contrib-function-patch-and-transform
      input:
        apiVersion: pt.fn.crossplane.io/v1beta1
        kind: Resources
        resources:
          - base:
              apiVersion: nop.crossplane.io/v1alpha1
              kind: NopResource
              spec:
                forProvider:
                  conditionAfter:
                    - conditionStatus: "True"
                      conditionType: Ready
                      time: 5s
                  fields: {}
            name: nop
            patches:
              - fromFieldPath: spec.parameters.size
                toFieldPath: spec.forProvider.fields.instanceClass
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.region
                toFieldPath: spec.forProvider.fields.region
                type: FromCompositeFieldPath
              - fromFieldPath: spec.parameters.storage
                toFieldPath: spec.forProvider.fields.storage
                type: FromCompositeFieldPath
Discover the building blocks for your internal cloud platform.
© 2024 Upbound, Inc.
Solutions