Allow AwsMachineTemplateSpec
to update tags
#1738
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
AwsMachineTemplateSpec
to update tags
#1738
/kind feature
Describe the solution you'd like
Today, if we make changes to
AwsMachineTemplateSpec
of any kind, we get back the error:This is the current (desired?) implementation:
cluster-api-provider-aws/api/v1alpha3/awsmachinetemplate_webhook.go
Line 60 in 9d05351
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:
kubectl version
): ANY/etc/os-release
): ANYThe text was updated successfully, but these errors were encountered: