fix virtual pod NodeSelector #572 (#616)

This commit is contained in:
jpgouin
2026-01-20 11:33:42 +01:00
committed by GitHub
parent 20305e03b7
commit ff6862e511
+1
View File
@@ -130,6 +130,7 @@ func (v *VirtualAgent) podSpec(image, name string, args []string, affinitySelect
args = append([]string{"agent", "--config", "/opt/rancher/k3s/config.yaml"}, args...)
podSpec := v1.PodSpec{
NodeSelector: v.cluster.Spec.NodeSelector,
Volumes: []v1.Volume{
{
Name: "config",