Marketplace
BrowsePublish
Marketplace
upbound/platform-ref-aws@v1.1.0
xclusters.aws.platformref.upbound.io

xclusters.aws.platformref.upbound.io

xclusters.aws.platformref.upbound.io
upbound/platform-ref-aws@v1.1.0xclusters.aws.platformref.upbound.io
Type

Composition

Referenced XRD

XCluster

Source Codegithub.com/upbound/platform-ref-aws
Resources (7)

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

Kind
Group
Version

XNetwork

aws.platform.upbound.io
v1alpha1

XEKS

aws.platform.upbound.io
v1alpha1

XOss

observe.platform.upbound.io
v1alpha1

XFlux

gitops.platform.upbound.io
v1alpha1

Usage

apiextensions.crossplane.io
v1alpha1

Usage

apiextensions.crossplane.io
v1alpha1

Usage

apiextensions.crossplane.io
v1alpha1
YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: xclusters.aws.platformref.upbound.io
  creationTimestamp: null
spec:
  compositeTypeRef:
    apiVersion: aws.platformref.upbound.io/v1alpha1
    kind: XCluster
  resources:
    - name: XNetwork
      base:
        apiVersion: aws.platform.upbound.io/v1alpha1
        kind: XNetwork
      patches:
        - fromFieldPath: spec.parameters.id
          toFieldPath: spec.parameters.id
        - fromFieldPath: spec.parameters.region
          toFieldPath: spec.parameters.region
        - fromFieldPath: spec.parameters.deletionPolicy
          toFieldPath: spec.parameters.deletionPolicy
        - fromFieldPath: spec.parameters.providerConfigName
          toFieldPath: spec.parameters.providerConfigName
        - fromFieldPath: spec.parameters.networkSelector
          toFieldPath: spec.compositionSelector.matchLabels[type]
        - type: ToCompositeFieldPath
          fromFieldPath: status.subnetIds
          toFieldPath: status.subnetIds
          policy:
            fromFieldPath: Required
    - name: XEKS
      base:
        apiVersion: aws.platform.upbound.io/v1alpha1
        kind: XEKS
      patches:
        - fromFieldPath: spec.parameters.id
          toFieldPath: metadata.labels[xeks.aws.platform.upbound.io/cluster-id]
        - fromFieldPath: spec.parameters.id
          toFieldPath: spec.parameters.id
        - fromFieldPath: spec.parameters.region
          toFieldPath: spec.parameters.region
        - fromFieldPath: spec.parameters.deletionPolicy
          toFieldPath: spec.parameters.deletionPolicy
        - fromFieldPath: spec.parameters.providerConfigName
          toFieldPath: spec.parameters.providerConfigName
        - fromFieldPath: spec.parameters.id
          toFieldPath: metadata.annotations[crossplane.io/external-name]
        - fromFieldPath: metadata.uid
          toFieldPath: spec.writeConnectionSecretToRef.name
          transforms:
            - type: string
              string:
                fmt: "%s-eks"
        - fromFieldPath: spec.writeConnectionSecretToRef.namespace
          toFieldPath: spec.writeConnectionSecretToRef.namespace
        - fromFieldPath: spec.parameters.version
          toFieldPath: spec.parameters.version
        - fromFieldPath: spec.parameters.nodes.count
          toFieldPath: spec.parameters.nodes.count
        - fromFieldPath: spec.parameters.nodes.instanceType
          toFieldPath: spec.parameters.nodes.instanceType
        - fromFieldPath: spec.parameters.iam.roleArn
          toFieldPath: spec.parameters.iam.roleArn
        - fromFieldPath: spec.parameters.iam.userArn
          toFieldPath: spec.parameters.iam.userArn
      connectionDetails:
        - fromConnectionSecretKey: kubeconfig
    - name: XOss
      base:
        apiVersion: observe.platform.upbound.io/v1alpha1
        kind: XOss
      patches:
        - fromFieldPath: spec.parameters.deletionPolicy
          toFieldPath: spec.parameters.deletionPolicy
        - fromFieldPath: spec.parameters.id
          toFieldPath: spec.parameters.id
        - fromFieldPath: spec.parameters.operators.prometheus.version
          toFieldPath: spec.parameters.operators.prometheus.version
    - name: XFlux
      base:
        apiVersion: gitops.platform.upbound.io/v1alpha1
        kind: XFlux
      patches:
        - fromFieldPath: spec.parameters.deletionPolicy
          toFieldPath: spec.parameters.deletionPolicy
        - fromFieldPath: spec.parameters.id
          toFieldPath: spec.parameters.providerConfigName
        - fromFieldPath: spec.parameters.operators.flux.version
          toFieldPath: spec.parameters.operators.flux.version
        - fromFieldPath: spec.parameters.operators.flux-sync.version
          toFieldPath: spec.parameters.operators.flux-sync.version
        - fromFieldPath: spec.parameters.gitops
          toFieldPath: spec.parameters.source
    - name: usageXEksByXFlux
      base:
        apiVersion: apiextensions.crossplane.io/v1alpha1
        kind: Usage
        spec:
          by:
            apiVersion: gitops.platform.upbound.io/v1alpha1
            kind: XFlux
            resourceSelector:
              matchControllerRef: true
          of:
            apiVersion: aws.platform.upbound.io/v1alpha1
            kind: XEKS
            resourceSelector:
              matchControllerRef: true
    - name: usageXEksByXOss
      base:
        apiVersion: apiextensions.crossplane.io/v1alpha1
        kind: Usage
        spec:
          by:
            apiVersion: observe.platform.upbound.io/v1alpha1
            kind: XOss
            resourceSelector:
              matchControllerRef: true
          of:
            apiVersion: aws.platform.upbound.io/v1alpha1
            kind: XEKS
            resourceSelector:
              matchControllerRef: true
    - name: usageXEksByArbitraryLabeledRelease
      base:
        apiVersion: apiextensions.crossplane.io/v1alpha1
        kind: Usage
        spec:
          by:
            apiVersion: helm.crossplane.io/v1beta1
            kind: Release
            resourceSelector:
              matchLabels:
                platform.upbound.io/deletion-ordering: enabled
          of:
            apiVersion: aws.platform.upbound.io/v1alpha1
            kind: XEKS
            resourceSelector:
              matchControllerRef: true
      readinessChecks:
        - type: None
  writeConnectionSecretsToNamespace: upbound-system
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.