Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

add VPC ID to AWSCluster CR #393

Merged
merged 2 commits into from
Apr 6, 2020
Merged

add VPC ID to AWSCluster CR #393

merged 2 commits into from
Apr 6, 2020

Conversation

xh3b4sd
Copy link
Contributor

@xh3b4sd xh3b4sd commented Apr 6, 2020

Towards https://github.com/giantswarm/giantswarm/issues/9274.

Checklist

  • Consider SIG UX feedback.
  • Update changelog in CHANGELOG.md.

@xh3b4sd xh3b4sd requested a review from a team April 6, 2020 13:14
@xh3b4sd xh3b4sd self-assigned this Apr 6, 2020
@@ -271,6 +272,8 @@ type AWSClusterStatusProvider struct {
type AWSClusterStatusProviderNetwork struct {
// IPv4 address block used by the tenant cluster, in CIDR notation.
CIDR string `json:"cidr" yaml:"cidr"`
// VPCID contains the ID of the tenant cluster, e.g. vpc-1234567890abcdef0.
VPCID string `json:"vpcID" yaml:"vpcID"`
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So as discussed with @marians we thought to go with the most simple change which is exposing the VPC ID in the CR status. In aws-operator we would then only need to fill it accordingly. Then customers can read the information from there.

Copy link
Member

@marians marians left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that there is only one VPC per tenant cluster and there is no need for differentiation, I'm fine with this change. 👍

Copy link
Contributor

@calvix calvix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sense from technical point of view

Copy link
Contributor

@anvddriesch anvddriesch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if I remember correctly that the status does not go into the docs. :)

@xh3b4sd xh3b4sd merged commit 19e76a8 into master Apr 6, 2020
@xh3b4sd xh3b4sd deleted the add-vpc-id branch April 6, 2020 13:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants