Marketplace
BrowsePublish
Marketplace
upbound/platform-ref-gcp@v0.7.0
xnetworks.gcp.platformref.upbound.io

xnetworks.gcp.platformref.upbound.io

xnetworks.gcp.platformref.upbound.io
upbound/platform-ref-gcp@v0.7.0xnetworks.gcp.platformref.upbound.io
Type

Composition

Referenced XRD

XNetwork

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

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

Kind
Group
Version

Network

compute.gcp.upbound.io
v1beta1

Subnetwork

compute.gcp.upbound.io
v1beta1
YAML
kind: Composition
apiVersion: apiextensions.crossplane.io/v1
metadata:
  name: xnetworks.gcp.platformref.upbound.io
  creationTimestamp: null
  labels:
    provider: GCP
spec:
  compositeTypeRef:
    apiVersion: gcp.platformref.upbound.io/v1alpha1
    kind: XNetwork
  resources:
    - base:
        apiVersion: compute.gcp.upbound.io/v1beta1
        kind: Network
        spec:
          forProvider:
            autoCreateSubnetworks: false
            routingMode: REGIONAL
      patches:
        - fromFieldPath: spec.id
          toFieldPath: metadata.name
        - fromFieldPath: spec.id
          toFieldPath: metadata.labels[networks.gcp.platformref.upbound.io/network-id]
    - base:
        apiVersion: compute.gcp.upbound.io/v1beta1
        kind: Subnetwork
        spec:
          forProvider:
            ipCidrRange: 172.16.0.0/16
            networkSelector:
              matchControllerRef: true
            privateIpGoogleAccess: true
            region: us-west2
            secondaryIpRange:
              - ipCidrRange: 10.200.0.0/14
                rangeName: pods
              - ipCidrRange: 10.204.0.0/16
                rangeName: services
      patches:
        - fromFieldPath: spec.id
          toFieldPath: metadata.labels[networks.gcp.platformref.upbound.io/network-id]
  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.