Marketplace
BrowsePublish
Marketplace
upbound/platform-ref-apigateway@v0.1.1
xapigateways.apigateway.upbound.io

xapigateways.apigateway.upbound.io

xapigateways.apigateway.upbound.io
upbound/platform-ref-apigateway@v0.1.1xapigateways.apigateway.upbound.io
Type

Composition

Referenced XRD

XAPIGateway

Source Codegithub.com/upbound/platform-ref-apigateway
Resources (2)

The following resources are composed to implement the referenced Composite Resource Definition (XRD).

Kind
Group
Version

Release

helm.crossplane.io
v1beta1

Object

kubernetes.crossplane.io
v1alpha1
YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: xapigateways.apigateway.upbound.io
  creationTimestamp: null
spec:
  compositeTypeRef:
    apiVersion: apigateway.upbound.io/v1alpha1
    kind: XAPIGateway
  resources:
    - name: APIGateway
      base:
        apiVersion: helm.crossplane.io/v1beta1
        kind: Release
        spec:
          connectionDetails:
            - apiVersion: apigateway.aws.upbound.io/v1beta1
              fieldPath: status.atProvider.arn
              kind: RestAPI
              toConnectionSecretKey: restapi-arn
          forProvider:
            chart:
              name: platform-ref-apigateway-chart
              repository: oci://xpkg.upbound.io/upbound
              version: 0.1.1
            skipCreateNamespace: true
          providerConfigRef:
            name: in-cluster
          rollbackLimit: 0
          wait: true
          writeConnectionSecretToRef:
            name: apigateway
      patches:
        - fromFieldPath: metadata.name
          toFieldPath: spec.forProvider.values.name
        - fromFieldPath: spec.claimRef.namespace
          toFieldPath: spec.forProvider.namespace
        - fromFieldPath: metadata.name
          toFieldPath: spec.connectionDetails[0].name
        - fromFieldPath: spec.claimRef.namespace
          toFieldPath: spec.writeConnectionSecretToRef.namespace
        - fromFieldPath: spec.parameters.region
          toFieldPath: spec.forProvider.values.region
        - fromFieldPath: spec.parameters.resources
          toFieldPath: spec.forProvider.values.resources
    - name: secret2status
      base:
        apiVersion: kubernetes.crossplane.io/v1alpha1
        kind: Object
        spec:
          forProvider:
            manifest:
              apiVersion: v1
              kind: Secret
              metadata:
                name: apigateway
                namespace: default
          managementPolicy: Observe
      patches:
        - fromFieldPath: spec.claimRef.namespace
          toFieldPath: spec.forProvider.namespace
        - type: ToCompositeFieldPath
          fromFieldPath: status.atProvider.manifest.data.restapi-arn
          toFieldPath: status.agw.restapi-arn
          transforms:
            - type: string
              string:
                type: Convert
                convert: FromBase64
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.