Skip to content

Conversation

@weastel
Copy link
Contributor

@weastel weastel commented Jul 31, 2020

No description provided.

@weastel
Copy link
Contributor Author

weastel commented Jul 31, 2020

@geekodour This pr is work in progress.

@weastel weastel force-pushed the automatic_subnet_ids branch 2 times, most recently from 8385ec1 to a4a1554 Compare August 28, 2020 12:45
@weastel
Copy link
Contributor Author

weastel commented Aug 28, 2020

@geekodour This PR ready to be reviewed.

@weastel weastel changed the title [WIP] Programmatical Subnets for EKS Programmatical Subnets for EKS Aug 28, 2020
@weastel weastel force-pushed the automatic_subnet_ids branch from 96d71bf to d0bbfe2 Compare August 30, 2020 20:48
Signed-off-by: Drumil Patel <[email protected]>
Signed-off-by: Drumil Patel <[email protected]>
Signed-off-by: Drumil Patel <[email protected]>
Signed-off-by: Drumil Patel <[email protected]>
Signed-off-by: Drumil Patel <[email protected]>
Signed-off-by: Drumil Patel <[email protected]>
Signed-off-by: Drumil Patel <[email protected]>
@weastel weastel force-pushed the automatic_subnet_ids branch from d0bbfe2 to 596ac75 Compare September 6, 2020 19:13
}

// listdownSubnetIds lists all subnet ids for given cluster name, if vpc for given cluster does not exists it creates vpc with given configuration.
func (c *EKS) listdownSubnetIds(clusterName string) ([]string, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
func (c *EKS) listdownSubnetIds(clusterName string) ([]string, error) {
func (c *EKS) listSubnetIds(clusterName string) ([]string, error) {

Copy link
Contributor

@geekodour geekodour left a comment

Choose a reason for hiding this comment

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

only nits :)

@@ -1,4 +1,5 @@
INFRA_CMD ?= ../infra/infra
PROVIDER ?= gke
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we re-declaring PROVIDER here? :)

projectid: {{ .GKE_PROJECT_ID }}
=======
projectid: {{ .PROJECT_ID }}
>>>>>>> Chnage as per review
Copy link
Contributor

Choose a reason for hiding this comment

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

Some conflicts didn't get resolved :octocat:

@bwplotka
Copy link
Member

Do you mind rebasing and fixing old rebase issues? It looks like a super useful change! Thanks! 🤗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants