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.

Cluster is missing Network and Subnetwork references #75

Description

@micnncim

What problem are you facing?

Currently, the Cluster managed resource is missing reference fields to Network and Subnetwork resources1.

It'd be unexpected to users because the Cluster resource in provider-gcp has references to both2 and other resources in this provider like the Subnetwork resource3.

While it's possible to specify Network and Subnetwork resources with the network and subnetwork fields, the value of the fields must be selfLink. This would make it annoying to configure them and it harder to create compositions.

How could GCP Provider help solve your problem?

References should be added.

Footnotes

  1. https://github.com/crossplane-contrib/provider-jet-gcp/blob/40c122feea/apis/container/v1alpha2/zz_cluster_types.go#L178-L363

  2. https://github.com/crossplane-contrib/provider-gcp/blob/v0.21.0/apis/container/v1beta2/cluster_types.go#L245-L253

  3. https://github.com/crossplane-contrib/provider-jet-gcp/blob/40c122feea/apis/compute/v1alpha2/zz_subnetwork_types.go#L127-L131

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