A Subnetwork is a managed resource that represents a Google Compute Engine VPC Subnetwork.
Type
CRD
Group
compute.gcp.crossplane.io
Version
v1beta1
apiVersion: compute.gcp.crossplane.io/v1beta1
kind: Subnetwork
A SubnetworkSpec defines the desired state of a Subnetwork.
SubnetworkParameters define the desired state of a Google Compute Engine VPC Subnetwork. Most fields map directly to a Subnetwork: https://cloud.google.com/compute/docs/reference/rest/v1/subnetworks
NetworkRef references a Network and retrieves its URI
Policies for referencing.
NetworkSelector selects a reference to a Network
Policies for selection.
SecondaryIPRanges: An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
A SubnetworkStatus represents the observed state of a Subnetwork.
A SubnetworkObservation represents the observed state of a Google Compute Engine VPC Subnetwork.
Conditions of the resource.
example
apiVersion: compute.gcp.crossplane.io/v1beta1
kind: Subnetwork
metadata:
name: example
spec:
forProvider:
ipCidrRange: 192.168.0.0/24
networkRef:
name: example
privateIpGoogleAccess: true
region: us-central1
secondaryIpRanges:
- ipCidrRange: 10.128.0.0/20
rangeName: pods
- ipCidrRange: 172.16.0.0/16
rangeName: services
providerConfigRef:
name: example
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.