Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Network for Route cannot be selected via networkSelector #77

Description

@wolfmayr

What problem are you facing?

I am trying to create a composition with a Network and a Route resource. In the Route resource, I would like to select the network which is created in the same composition via a networkSelector. Similarly to the way it is possible for a Subnetwork resource for example. At the moment this is not possible - instead I have to specify the exact name of the network in the network 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 a Subnetwork 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/v1alpha2@v0.3.0-preview

Route, where the networkSelector is missing: https://doc.crds.dev/github.com/crossplane-contrib/provider-jet-gcp/compute.gcp.jet.crossplane.io/Route/v1alpha1@v0.3.0-preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions