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

Label Templates: render also machineInventoryAnnotations #848

Merged
merged 5 commits into from
Sep 20, 2024

Conversation

fgiudici
Copy link
Member

This PR adds support to Label Templates rendering to the MachineRegistration.Spec.machineInventoryAnnotations.

While working on the unit tests, moved Label Templates tests to a separated file and added few improvements and fixes.

Fixes #833

@fgiudici fgiudici requested a review from a team as a code owner September 18, 2024 17:43
@github-actions github-actions bot added area/operator operator related changes area/tests test related changes labels Sep 18, 2024
from api_registration_test.go to labeltmpl_test.go

Signed-off-by: Francesco Giudici <[email protected]>
Signed-off-by: Francesco Giudici <[email protected]>
Signed-off-by: Francesco Giudici <[email protected]>
@fgiudici fgiudici force-pushed the label-templates-render-annotations branch from 4adf631 to 1d0a923 Compare September 20, 2024 06:17
Copy link
Contributor

@davidcassany davidcassany left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@fgiudici fgiudici merged commit 60808bf into rancher:main Sep 20, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/operator operator related changes area/tests test related changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apply Label Templates to MachineRegistration 'machineInventoryAnnotations'
2 participants