Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stack tags #186

Merged
merged 5 commits into from
Sep 12, 2018
Merged

Stack tags #186

merged 5 commits into from
Sep 12, 2018

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Sep 6, 2018

Partly resolves #150, except for #25.

Copy link
Contributor

@richardcase richardcase left a comment

Choose a reason for hiding this comment

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

Great work. I'll certainly be using tags when its merged :)
Just 2 small comments.

@@ -67,7 +67,8 @@ func createClusterCmd() *cobra.Command {
fs.StringVarP(&cfg.ClusterName, "name", "n", "", fmt.Sprintf("EKS cluster name (generated if unspecified, e.g. %q)", exampleClusterName))

fs.StringVarP(&cfg.Region, "region", "r", DEFAULT_EKS_REGION, "AWS region")
fs.StringVarP(&cfg.Profile, "profile", "p", "", "AWS creditials profile to use (overrides the AWS_PROFILE environment variable)")
fs.StringVarP(&cfg.Profile, "profile", "p", "", "AWS credentials profile to use (overrides the AWS_PROFILE environment variable)")
fs.StringToStringVarP(&cfg.Tags, "tags", "", map[string]string{}, "Custom tags")

This comment was marked as abuse.

for key, value := range spec.Tags {
tags = append(tags, newTag(key, value))
}
fmt.Println("TAGS", tags)

This comment was marked as abuse.

README.md Outdated
@@ -127,6 +127,12 @@ To use a pre-existing EC2 key pair in `us-east-1` region, you can specify key pa
eksctl create cluster --ssh-public-key=my_kubernetes_key --region=us-east-1
```

To add custom tags to each stack, you can specify tags:

This comment was marked as abuse.

@errordeveloper
Copy link
Contributor

@jmcarp thanks a lot for the PR!

@errordeveloper
Copy link
Contributor

hey @jmcarp, do you think you could rebase and address @richardcase's comments sometime soon?

@jmcarp
Copy link
Contributor Author

jmcarp commented Sep 12, 2018

Sorry, didn't see the comments! Updated.

Copy link
Contributor

@richardcase richardcase left a comment

Choose a reason for hiding this comment

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

Thanks for making those changes. This look good to go.

@errordeveloper errordeveloper merged commit 5b246fe into eksctl-io:master Sep 12, 2018
@errordeveloper
Copy link
Contributor

@jmcarp thanks a lot!

torredil pushed a commit to torredil/eksctl that referenced this pull request May 20, 2022
Update run-e2e-test script to setup cluster
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.

Add tags when creating a cluster
3 participants