cluster-api-provider-proxmox icon indicating copy to clipboard operation
cluster-api-provider-proxmox copied to clipboard

Template selection by a subset of tags

Open holmesb opened this issue 1 month ago • 3 comments

*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.

holmesb avatar Nov 10 '25 18:11 holmesb

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
https://github.com/ionos-cloud/cluster-api-provider-proxmox/labels/e2e%2Fnone Do not run any e2e tests
https://github.com/ionos-cloud/cluster-api-provider-proxmox/labels/e2e%2Fflatcar Add Flatcar tests

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

github-actions[bot] avatar Nov 10 '25 18:11 github-actions[bot]

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.

pborn-ionos avatar Nov 17 '25 14:11 pborn-ionos

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

holmesb avatar Nov 18 '25 08:11 holmesb