File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1127,6 +1127,7 @@ func (r *driverReconcile) reconcileNodePluginDaemonSetForCsiAddons() error {
11271127 // resolved through k8s service, set dns policy to cluster first
11281128 DNSPolicy : corev1 .DNSClusterFirstWithHostNet ,
11291129 Tolerations : pluginSpec .Tolerations ,
1130+ Affinity : pluginSpec .Affinity ,
11301131 Containers : utils .Call (func () []corev1.Container {
11311132 containers := []corev1.Container {
11321133 {
@@ -1302,6 +1303,7 @@ func (r *driverReconcile) reconcileNodePluginDaemonSet() error {
13021303 // resolved through k8s service, set dns policy to cluster first
13031304 DNSPolicy : corev1 .DNSClusterFirstWithHostNet ,
13041305 Tolerations : pluginSpec .Tolerations ,
1306+ Affinity : pluginSpec .Affinity ,
13051307 Containers : utils .Call (func () []corev1.Container {
13061308 containers := []corev1.Container {
13071309 // Node Plugin Container
You can’t perform that action at this time.
0 commit comments