mirror of https://github.com/crossplane/docs.git
				
				
				
			docs snapshot for crossplane version `v0.8`
This commit is contained in:
		
							parent
							
								
									39c7674d18
								
							
						
					
					
						commit
						5fd247ffad
					
				| 
						 | 
				
			
			@ -111,6 +111,7 @@ API Group | Status | Details
 | 
			
		|||
[`gcp.crossplane.io/v1alpha3`] | Alpha | Core GCP resources.
 | 
			
		||||
[`cache.gcp.crossplane.io/v1beta1`] | Beta | CloudMemorystore managed resources and classes.
 | 
			
		||||
[`compute.gcp.crossplane.io/v1alpha3`] | Alpha | Compute Engine managed resources and classes.
 | 
			
		||||
[`compute.gcp.crossplane.io/v1beta1`] | Beta | Compute Engine managed resources and classes.
 | 
			
		||||
[`container.gcp.crossplane.io/v1alpha1`] | Alpha | Kubernetes Engine managed resources and classes.
 | 
			
		||||
[`container.gcp.crossplane.io/v1beta1`] | Beta | Kubernetes Engine managed resources and classes.
 | 
			
		||||
[`database.gcp.crossplane.io/v1beta1`] | Beta | CloudSQL managed resources and classes.
 | 
			
		||||
| 
						 | 
				
			
			@ -120,6 +121,7 @@ API Group | Status | Details
 | 
			
		|||
[`gcp.crossplane.io/v1alpha3`]: api/crossplaneio/stack-gcp/gcp-crossplane-io-v1alpha3.md
 | 
			
		||||
[`cache.gcp.crossplane.io/v1beta1`]: api/crossplaneio/stack-gcp/cache-gcp-crossplane-io-v1beta1.md
 | 
			
		||||
[`compute.gcp.crossplane.io/v1alpha3`]: api/crossplaneio/stack-gcp/compute-gcp-crossplane-io-v1alpha3.md
 | 
			
		||||
[`compute.gcp.crossplane.io/v1beta1`]: api/crossplaneio/stack-gcp/compute-gcp-crossplane-io-v1beta1.md
 | 
			
		||||
[`container.gcp.crossplane.io/v1alpha1`]: api/crossplaneio/stack-gcp/container-gcp-crossplane-io-v1alpha1.md
 | 
			
		||||
[`container.gcp.crossplane.io/v1beta1`]: api/crossplaneio/stack-gcp/container-gcp-crossplane-io-v1beta1.md
 | 
			
		||||
[`database.gcp.crossplane.io/v1beta1`]: api/crossplaneio/stack-gcp/database-gcp-crossplane-io-v1beta1.md
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -138,34 +138,35 @@ use Crossplane to do it:
 | 
			
		|||
  ---
 | 
			
		||||
  # example-globaladdress defines the IP range that will be allocated for cloud services connecting
 | 
			
		||||
  # to the instances in the given Network.
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1alpha3
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1beta1
 | 
			
		||||
  kind: GlobalAddress
 | 
			
		||||
  metadata:
 | 
			
		||||
    name: example-globaladdress
 | 
			
		||||
  spec:
 | 
			
		||||
    forProvider:
 | 
			
		||||
      purpose: VPC_PEERING
 | 
			
		||||
      addressType: INTERNAL
 | 
			
		||||
      prefixLength: 16
 | 
			
		||||
      network: projects/$PROJECT_ID/global/networks/$NETWORK_NAME
 | 
			
		||||
    providerRef:
 | 
			
		||||
      name: gcp-provider
 | 
			
		||||
    reclaimPolicy: Delete
 | 
			
		||||
    name: example-globaladdress
 | 
			
		||||
    purpose: VPC_PEERING
 | 
			
		||||
    addressType: INTERNAL
 | 
			
		||||
    prefixLength: 16
 | 
			
		||||
    network: projects/$PROJECT_ID/global/networks/$NETWORK_NAME
 | 
			
		||||
  ---
 | 
			
		||||
  # example-connection is what allows cloud services to use the allocated GlobalAddress for communication. Behind
 | 
			
		||||
  # the scenes, it creates a VPC peering to the network that those service instances actually live.
 | 
			
		||||
  apiVersion: servicenetworking.gcp.crossplane.io/v1alpha3
 | 
			
		||||
  apiVersion: servicenetworking.gcp.crossplane.io/v1beta1
 | 
			
		||||
  kind: Connection
 | 
			
		||||
  metadata:
 | 
			
		||||
    name: example-connection
 | 
			
		||||
  spec:
 | 
			
		||||
    forProvider:
 | 
			
		||||
      parent: services/servicenetworking.googleapis.com
 | 
			
		||||
      network: projects/$PROJECT_ID/global/networks/$NETWORK_NAME
 | 
			
		||||
      reservedPeeringRangeRefs:
 | 
			
		||||
        - name: example-globaladdress
 | 
			
		||||
    providerRef:
 | 
			
		||||
      name: gcp-provider
 | 
			
		||||
    reclaimPolicy: Delete
 | 
			
		||||
    parent: services/servicenetworking.googleapis.com
 | 
			
		||||
    network: projects/$PROJECT_ID/global/networks/$NETWORK_NAME
 | 
			
		||||
    reservedPeeringRangeRefs:
 | 
			
		||||
      - name: example-globaladdress
 | 
			
		||||
  EOF
 | 
			
		||||
 | 
			
		||||
  kubectl apply -f network.yaml
 | 
			
		||||
| 
						 | 
				
			
			@ -187,8 +188,8 @@ use Crossplane to do it:
 | 
			
		|||
  Labels:       <none>
 | 
			
		||||
  Annotations:  crossplane.io/external-name: example-connection
 | 
			
		||||
                kubectl.kubernetes.io/last-applied-configuration:
 | 
			
		||||
                  {"apiVersion":"servicenetworking.gcp.crossplane.io/v1alpha3","kind":"Connection","metadata":{"annotations":{},"name":"example-connection"}...
 | 
			
		||||
  API Version:  servicenetworking.gcp.crossplane.io/v1alpha3
 | 
			
		||||
                  {"apiVersion":"servicenetworking.gcp.crossplane.io/v1beta1","kind":"Connection","metadata":{"annotations":{},"name":"example-connection"}...
 | 
			
		||||
  API Version:  servicenetworking.gcp.crossplane.io/v1beta1
 | 
			
		||||
  Kind:         Connection
 | 
			
		||||
  Metadata:
 | 
			
		||||
    Creation Timestamp:  2019-10-28T14:10:23Z
 | 
			
		||||
| 
						 | 
				
			
			@ -196,7 +197,7 @@ use Crossplane to do it:
 | 
			
		|||
      finalizer.managedresource.crossplane.io
 | 
			
		||||
    Generation:        1
 | 
			
		||||
    Resource Version:  7245
 | 
			
		||||
    Self Link:         /apis/servicenetworking.gcp.crossplane.io/v1alpha3/connections/example-connection
 | 
			
		||||
    Self Link:         /apis/servicenetworking.gcp.crossplane.io/v1beta1/connections/example-connection
 | 
			
		||||
    UID:               aeae7e4d-f98c-11e9-8275-42010a800122
 | 
			
		||||
  Spec:
 | 
			
		||||
    Network:  projects/crossplane-playground/global/networks/default
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -182,15 +182,15 @@ Below we inspect each of these resources in more details.
 | 
			
		|||
 | 
			
		||||
  ```yaml
 | 
			
		||||
  ---
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1alpha3
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1beta1
 | 
			
		||||
  kind: Network
 | 
			
		||||
  metadata:
 | 
			
		||||
    name: sample-network
 | 
			
		||||
  spec:
 | 
			
		||||
    name: my-cool-network
 | 
			
		||||
    autoCreateSubnetworks: false
 | 
			
		||||
    routingConfig:
 | 
			
		||||
      routingMode: REGIONAL
 | 
			
		||||
    forProvider:
 | 
			
		||||
      autoCreateSubnetworks: false
 | 
			
		||||
      routingConfig:
 | 
			
		||||
        routingMode: REGIONAL
 | 
			
		||||
    reclaimPolicy: Delete
 | 
			
		||||
    providerRef:
 | 
			
		||||
      name: gcp-provider
 | 
			
		||||
| 
						 | 
				
			
			@ -201,22 +201,22 @@ Below we inspect each of these resources in more details.
 | 
			
		|||
 | 
			
		||||
  ```yaml
 | 
			
		||||
  ---
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1alpha3
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1beta1
 | 
			
		||||
  kind: Subnetwork
 | 
			
		||||
  metadata:
 | 
			
		||||
    name: sample-subnetwork
 | 
			
		||||
  spec:
 | 
			
		||||
    name: my-cool-subnetwork
 | 
			
		||||
    region: us-central1
 | 
			
		||||
    ipCidrRange: "192.168.0.0/24"
 | 
			
		||||
    privateIpGoogleAccess: true
 | 
			
		||||
    secondaryIpRanges:
 | 
			
		||||
      - rangeName: pods
 | 
			
		||||
        ipCidrRange: 10.128.0.0/20
 | 
			
		||||
      - rangeName: services
 | 
			
		||||
        ipCidrRange: 172.16.0.0/16
 | 
			
		||||
    networkRef:
 | 
			
		||||
      name: sample-network
 | 
			
		||||
    forProvider:
 | 
			
		||||
      region: us-central1
 | 
			
		||||
      ipCidrRange: "192.168.0.0/24"
 | 
			
		||||
      privateIpGoogleAccess: true
 | 
			
		||||
      secondaryIpRanges:
 | 
			
		||||
        - rangeName: pods
 | 
			
		||||
          ipCidrRange: 10.128.0.0/20
 | 
			
		||||
        - rangeName: services
 | 
			
		||||
          ipCidrRange: 172.16.0.0/16
 | 
			
		||||
      networkRef:
 | 
			
		||||
        name: sample-network
 | 
			
		||||
    reclaimPolicy: Delete
 | 
			
		||||
    providerRef:
 | 
			
		||||
      name: gcp-provider
 | 
			
		||||
| 
						 | 
				
			
			@ -227,17 +227,17 @@ Below we inspect each of these resources in more details.
 | 
			
		|||
 | 
			
		||||
  ```yaml
 | 
			
		||||
  ---
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1alpha3
 | 
			
		||||
  apiVersion: compute.gcp.crossplane.io/v1beta1
 | 
			
		||||
  kind: GlobalAddress
 | 
			
		||||
  metadata:
 | 
			
		||||
    name: sample-globaladdress
 | 
			
		||||
  spec:
 | 
			
		||||
    name: my-cool-globaladdress
 | 
			
		||||
    purpose: VPC_PEERING
 | 
			
		||||
    addressType: INTERNAL
 | 
			
		||||
    prefixLength: 16
 | 
			
		||||
    networkRef:
 | 
			
		||||
      name: sample-network
 | 
			
		||||
    forProvider:
 | 
			
		||||
      purpose: VPC_PEERING
 | 
			
		||||
      addressType: INTERNAL
 | 
			
		||||
      prefixLength: 16
 | 
			
		||||
      networkRef:
 | 
			
		||||
        name: sample-network
 | 
			
		||||
    reclaimPolicy: Delete
 | 
			
		||||
    providerRef:
 | 
			
		||||
      name: gcp-provider
 | 
			
		||||
| 
						 | 
				
			
			@ -250,16 +250,17 @@ Below we inspect each of these resources in more details.
 | 
			
		|||
 | 
			
		||||
  ```yaml
 | 
			
		||||
  ---
 | 
			
		||||
  apiVersion: servicenetworking.gcp.crossplane.io/v1alpha3
 | 
			
		||||
  apiVersion: servicenetworking.gcp.crossplane.io/v1beta1
 | 
			
		||||
  kind: Connection
 | 
			
		||||
  metadata:
 | 
			
		||||
    name: sample-connection
 | 
			
		||||
  spec:
 | 
			
		||||
    parent: services/servicenetworking.googleapis.com
 | 
			
		||||
    networkRef:
 | 
			
		||||
      name: sample-network
 | 
			
		||||
    reservedPeeringRangeRefs:
 | 
			
		||||
      - name: sample-globaladdress
 | 
			
		||||
    forProvider:
 | 
			
		||||
      parent: services/servicenetworking.googleapis.com
 | 
			
		||||
      networkRef:
 | 
			
		||||
        name: sample-network
 | 
			
		||||
      reservedPeeringRangeRefs:
 | 
			
		||||
        - name: sample-globaladdress
 | 
			
		||||
    reclaimPolicy: Delete
 | 
			
		||||
    providerRef:
 | 
			
		||||
      name: gcp-provider
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue