github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/_.crossplane.io/_/testdata/composition_healthy.yaml (about)

     1  # Taken from here May 9, 2025: https://docs.crossplane.io/latest/concepts/compositions/
     2  apiVersion: apiextensions.crossplane.io/v1
     3  kind: Composition
     4  metadata:
     5    name: example
     6  spec:
     7    compositeTypeRef:
     8      apiVersion: custom-api.example.org/v1alpha1
     9      kind: AcmeBucket
    10    mode: Pipeline
    11    pipeline:
    12      - step: patch-and-transform
    13        functionRef:
    14          name: function-patch-and-transform
    15        input:
    16          apiVersion: pt.fn.crossplane.io/v1beta1
    17          kind: Resources
    18          resources:
    19            - name: storage-bucket
    20              base:
    21                apiVersion: s3.aws.upbound.io/v1beta1
    22                kind: Bucket
    23                spec:
    24                  forProvider:
    25                    region: "us-east-2"