-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Stack tags #186
Conversation
There was a problem hiding this 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.
cmd/eksctl/create.go
Outdated
@@ -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.
This comment was marked as abuse.
Sorry, something went wrong.
pkg/cfn/manager/api.go
Outdated
for key, value := range spec.Tags { | ||
tags = append(tags, newTag(key, value)) | ||
} | ||
fmt.Println("TAGS", tags) |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
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.
This comment was marked as abuse.
Sorry, something went wrong.
@jmcarp thanks a lot for the PR! |
hey @jmcarp, do you think you could rebase and address @richardcase's comments sometime soon? |
Sorry, didn't see the comments! Updated. |
There was a problem hiding this 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.
@jmcarp thanks a lot! |
Update run-e2e-test script to setup cluster
Partly resolves #150, except for #25.