This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
Network for Route cannot be selected via networkSelector #77
Labels
enhancement
New feature or request
What problem are you facing?
I am trying to create a composition with a
Network
and aRoute
resource. In the Route resource, I would like to select the network which is created in the same composition via anetworkSelector
. Similarly to the way it is possible for aSubnetwork
resource for example. At the moment this is not possible - instead I have to specify the exact name of the network in thenetwork
field of the route. However, I do not know the network name at the time of configuring the route, since the network name is auto-generated and can't be specified when configuring the network resource.How could GCP Provider help solve your problem?
This problem could be solved by adding a networkSelector to the
Route
resource, similar to how it is implemented for aSubnetwork
or a Firewall resource.Additionally, the network field would have to be changed from a required to an optional field.
Resources:
Subnetwork, where the networkSelector is available under
forProvider
: https://doc.crds.dev/github.com/crossplane-contrib/provider-jet-gcp/compute.gcp.jet.crossplane.io/Subnetwork/[email protected]Route, where the networkSelector is missing: https://doc.crds.dev/github.com/crossplane-contrib/provider-jet-gcp/compute.gcp.jet.crossplane.io/Route/[email protected]
The text was updated successfully, but these errors were encountered: