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

Allow AwsMachineTemplateSpec to update tags #1738

Closed
detro opened this issue May 29, 2020 · 3 comments
Closed

Allow AwsMachineTemplateSpec to update tags #1738

detro opened this issue May 29, 2020 · 3 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@detro
Copy link

detro commented May 29, 2020

/kind feature

Describe the solution you'd like
Today, if we make changes to AwsMachineTemplateSpec of any kind, we get back the error:

// ... snip ...
awsMachineTemplateSpec is immutable
// ... snip ...

This is the current (desired?) implementation:

func (r *AWSMachineTemplate) ValidateUpdate(old runtime.Object) error {

While I feel this makes perfect sense (it's a "physical" instance that is being spawned), Tags are a special case. Within a large organization (like mine, New Relic) tagging is a crucial aspect of keeping AWS organised, and tag schemes are bound to change at some point.

Right now, when this happens, we have to manually go and use the AWS Tag Editor: with too many clusters and nodes, this doesn't scale anymore.

Anything else you would like to add:
In case there is a reason this is NOT a desirable feature, please let me know.
Otherwise, I plan to try to implement the feature myself and submit a PR.
It should be "relatively easy".

PS I have indeed looked through the PRs and Issues and I couldn't find an equivalent to this one. But if I missed it and created a duplicate, please link and close this one.

Environment:

  • Cluster-api-provider-aws version: ANY
  • Kubernetes version: (use kubectl version): ANY
  • OS (e.g. from /etc/os-release): ANY
@k8s-ci-robot k8s-ci-robot added the kind/feature Categorizes issue or PR as related to a new feature. label May 29, 2020
@detiber
Copy link
Member

detiber commented May 29, 2020

@detro there is an existing issue where others are working on just this: #1711

Closing this issue and let's continue the discussion on #1711
/close

@k8s-ci-robot
Copy link
Contributor

@detiber: Closing this issue.

In response to this:

@detro there is an existing issue where others are working on just this: #1711

Closing this issue and let's continue the discussion on #1711
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@detro
Copy link
Author

detro commented May 29, 2020

Ah, thank you and sorry: I missed it.
Yep, that is precisely the issue. Will follow #1711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

3 participants