kubevirt_vm: Use {Instancetype,Preference}Matchers

Use InstancetypeMatchers and PreferenceMatchers directly instead of
providing multiple arguments to prevent unnecessary abstraction.

Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
Felix Matouschek
2023-07-17 10:29:01 +02:00
parent 40972f61c2
commit b0971aca37
3 changed files with 21 additions and 74 deletions

View File

@@ -7,8 +7,10 @@
namespace: default
labels:
app: test
instancetype: u1.medium
preference: fedora
instancetype:
name: u1.medium
preference:
name: fedora
interfaces:
- name: default
masquerade: {}