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

Restore ability to override Name tag on AWS #1211

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Conversation

ellistarn
Copy link
Contributor

1. Issue, if available:

2. Description of changes:

3. How was this change tested?

4. Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: link to issue
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@netlify
Copy link

netlify bot commented Jan 24, 2022

✔️ Deploy Preview for karpenter-docs-prod canceled.

🔨 Explore the source changes: 6b8b78f

🔍 Inspect the deploy log: https://app.netlify.com/sites/karpenter-docs-prod/deploys/61ef0e73eea6580007d1e6e9

@ellistarn ellistarn changed the title Restore ability to override Name tag on AWS [WIP] Restore ability to override Name tag on AWS Jan 24, 2022
@ellistarn
Copy link
Contributor Author

Uploading image.png…

@ellistarn ellistarn changed the title [WIP] Restore ability to override Name tag on AWS Restore ability to override Name tag on AWS Jan 24, 2022
Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

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

lgtm

},
TagSpecifications: []*ec2.TagSpecification{{
ResourceType: aws.String(ec2.ResourceTypeInstance),
Tags: constraints.GetTags(ctx, map[string]string{fmt.Sprintf("kubernetes.io/cluster/%s", injection.GetOptions(ctx).ClusterName): "owned"}),
Copy link
Contributor

Choose a reason for hiding this comment

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

constraints.Tags instead of GetTags?

Copy link
Contributor

@bwagner5 bwagner5 left a comment

Choose a reason for hiding this comment

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

lgtm

@ellistarn ellistarn merged commit 5fdb610 into aws:main Jan 24, 2022
@ellistarn ellistarn deleted the 944 branch March 4, 2022 18:20
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.

None yet

2 participants