-
Notifications
You must be signed in to change notification settings - Fork 40
fix: LaunchTemplates to set InstanceMetadataTags as "disabled" #503
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,3 +9,4 @@ vendor/* | |
| *.idea | ||
| .windsurfrules | ||
| .qodo | ||
| .tool-versions | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -364,6 +364,7 @@ func (lt *LaunchTemplate) metadataOptions(input *v1alpha1.MetadataOptions) *ec2. | |
| HttpEndpoint: aws.String(input.HttpEndpoint), | ||
| HttpPutResponseHopLimit: aws.Int64(input.HttpPutHopLimit), | ||
| HttpTokens: aws.String(input.HttpTokens), | ||
| InstanceMetadataTags: aws.String("disabled"), // set disabled by default | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. do we need update CRD in instancemgr.keikoproj.io_instancegroups.yaml
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, we do not expose this for configuration in IG spec (input), it's hard-coded as "disabled" only |
||
| } | ||
| } | ||
|
|
||
|
|
@@ -375,6 +376,7 @@ func (lt *LaunchTemplate) metadataOptionsRequest(input *v1alpha1.MetadataOptions | |
| HttpEndpoint: aws.String(input.HttpEndpoint), | ||
| HttpPutResponseHopLimit: aws.Int64(input.HttpPutHopLimit), | ||
| HttpTokens: aws.String(input.HttpTokens), | ||
| InstanceMetadataTags: aws.String("disabled"), // set disabled by default | ||
| } | ||
| } | ||
|
|
||
|
|
||
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.
why are we removing
nodeConfigThere 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.
This is being removed by generate,
make manifests. I asked @estela-ramirez and she confirmed we don't need this.