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

[fix] Make tags mutable on LinodeMachine #536

Closed
wants to merge 1 commit into from
Closed

Conversation

tchinmai7
Copy link
Contributor

What this PR does / why we need it:
Makes tags mutable on linodeMachine

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #524
Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@github-actions github-actions bot added the bugfix label Oct 8, 2024
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.71%. Comparing base (083e683) to head (bc6ea41).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #536   +/-   ##
=======================================
  Coverage   64.71%   64.71%           
=======================================
  Files          79       79           
  Lines        4237     4237           
=======================================
  Hits         2742     2742           
  Misses       1232     1232           
  Partials      263      263           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@rahulait rahulait left a comment

Choose a reason for hiding this comment

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

LGTM. How are we planning to use this? Just thinking of how one can leverage this.

@tchinmai7
Copy link
Contributor Author

was going to add the ability to specify tags via the LinodeMachineTemplate - so that they get applied to all machines, figured i'd start with this tiny PR first

Copy link
Member

@AshleyDumaine AshleyDumaine left a comment

Choose a reason for hiding this comment

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

If tag updates are to be respected on the Linode API side, we need to update the machine controller to reconcile this update via an UpdateInstance call https://pkg.go.dev/github.com/linode/linodego#Client.UpdateInstance

@tchinmai7
Copy link
Contributor Author

closing this for now - will reopen after testing / re-assessing

@tchinmai7 tchinmai7 closed this Oct 11, 2024
@rahulait rahulait deleted the make-tags-mutable branch October 14, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tags should not be immutable on linodeMachine
3 participants