Skip to content

Conversation

@holmesb
Copy link

@holmesb holmesb commented Nov 10, 2025

*Issue #583

Description of changes:
Make VM templates selectable by a subset of tags. Also made the tag search case-insensitive and de-duped both the wanted and present tag lists.

Testing performed:
Updated tests.

@github-actions
Copy link

Tests

Please note that running unit and e2e tests requires manual approval from a team member.

e2e tests

We use labels to control which e2e tests contexts are run:

Label Behaviour
none Run Generic tests only
e2e/none skip all e2e tests (documentation etc) - overrides all e2e/* labels Do not run any e2e tests
e2e/flatcar run Flatcar e2e tests Add Flatcar tests

ℹ️ Ask a team member to add the requested labels if you don't have enough permissions.

@pborn-ionos
Copy link
Contributor

Thank you for your contribution. We should be careful with breaking API changes.

Please have a look at our friends over at CAPIC. They've hidden this behind the flag ResolutionPolicy, which defaults to Exact (which is our current behaviour). You could then, for example, put this feature under ResolutionPolicy: Subset.

…mplate lookup. Defaults to "exact", same as current behaviour. "subset" matches templates that have additional tags.
@holmesb
Copy link
Author

holmesb commented Nov 18, 2025

Agreed @pborn-ionos. Done. I took the opp to bring tag template selection to the cluster classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants