cozystack/internal/controller
Timofei Larkin 911ca64de0 Get instance type when reconciling WorkloadMonitor
When the WorkloadMonitor is reconciled and child Workload objects are
created, they will now get additional labels in the
`workloads.cozystack.io` namespace, containing metadata about the
workload. This particular commit checks if a pod targeted by a Workload
is owned by a VirtualMachineInstance (i.e. it launches a KubeVirt VMI)
and, if so, gets the VMI instance type and puts it in the
`kubevirt-vmi-instance-type` label.

Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>
2025-06-10 11:17:40 +03:00
..
suite_test.go Move project from aenix-io to cozystack repository 2025-03-10 21:16:58 +01:00
tenant_helm_reconciler.go [platform] add hr reconciler 2025-05-05 09:26:50 +03:00
workload_controller.go Fix virtual machine resource tracking 2025-04-29 15:22:46 +03:00
workload_controller_test.go Fix virtual machine resource tracking 2025-04-29 15:22:46 +03:00
workloadmonitor_controller.go Get instance type when reconciling WorkloadMonitor 2025-06-10 11:17:40 +03:00