mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-29 10:54:35 +00:00
inventory: Add create_groups option
This adds the create_groups option to the inventory, which allows to control the creation of groups from labels on VirtualMachines. By default it is disabled. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
@@ -2,3 +2,4 @@ plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- namespaces:
|
||||
- default
|
||||
create_groups: yes
|
||||
|
||||
@@ -2,4 +2,5 @@ plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- namespaces:
|
||||
- default
|
||||
create_groups: yes
|
||||
label_selector: app=test
|
||||
|
||||
@@ -2,4 +2,5 @@ plugin: kubevirt.core.kubevirt
|
||||
connections:
|
||||
- namespaces:
|
||||
- default
|
||||
create_groups: yes
|
||||
network_name: bridge-network
|
||||
|
||||
Reference in New Issue
Block a user