Marketplace
BrowsePublish
Marketplace
upbound/platform-ref-gcp@v0.9.0
xclusters.gcp.platformref.upbound.io

xclusters.gcp.platformref.upbound.io

xclusters.gcp.platformref.upbound.io
upbound/platform-ref-gcp@v0.9.0xclusters.gcp.platformref.upbound.io
Type

Composition

Referenced XRD

XCluster

Source Codegithub.com/upbound/platform-ref-gcp
Resources (3)

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

Kind
Group
Version

XNetwork

gcp.platformref.upbound.io
v1alpha1

XGKE

gcp.platformref.upbound.io
v1alpha1

XServices

gcp.platformref.upbound.io
v1alpha1
YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: xclusters.gcp.platformref.upbound.io
  creationTimestamp: null
  labels:
    provider: GCP
spec:
  compositeTypeRef:
    apiVersion: gcp.platformref.upbound.io/v1alpha1
    kind: XCluster
  resources:
    - base:
        apiVersion: gcp.platformref.upbound.io/v1alpha1
        kind: XNetwork
      patches:
        - fromFieldPath: spec.id
          toFieldPath: spec.id
    - base:
        apiVersion: gcp.platformref.upbound.io/v1alpha1
        kind: XGKE
      patches:
        - fromFieldPath: spec.id
          toFieldPath: spec.id
        - fromFieldPath: metadata.uid
          toFieldPath: spec.writeConnectionSecretToRef.name
          transforms:
            - type: string
              string:
                fmt: "%s-gke"
        - fromFieldPath: spec.writeConnectionSecretToRef.namespace
          toFieldPath: spec.writeConnectionSecretToRef.namespace
        - fromFieldPath: spec.parameters.nodes.count
          toFieldPath: spec.parameters.nodes.count
        - fromFieldPath: spec.parameters.nodes.size
          toFieldPath: spec.parameters.nodes.size
        - fromFieldPath: spec.id
          toFieldPath: spec.parameters.XNetworkSelector.matchLabels[networks.gcp.platformref.upbound.io/network-id]
      connectionDetails:
        - fromConnectionSecretKey: kubeconfig
    - base:
        apiVersion: gcp.platformref.upbound.io/v1alpha1
        kind: XServices
      patches:
        - fromFieldPath: spec.id
          toFieldPath: spec.providerConfigRef.name
        - fromFieldPath: spec.parameters.services.operators.prometheus.version
          toFieldPath: spec.operators.prometheus.version
  writeConnectionSecretsToNamespace: upbound-system
Marketplace

Discover the building blocks for your internal cloud platform.

© 2024 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2024 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.