Skip to content

Commit b753f04

Browse files
committed
[agent-smith] Add toleration to daemonset
1 parent 144eab0 commit b753f04

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

install/installer/pkg/components/agent-smith/daemonset.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ func daemonset(ctx *common.RenderContext) ([]runtime.Object, error) {
105105
},
106106
common.CAVolume(),
107107
},
108+
Tolerations: []corev1.Toleration{
109+
{
110+
Effect: corev1.TaintEffectNoSchedule,
111+
Operator: corev1.TolerationOpExists,
112+
},
113+
},
108114
},
109115
},
110116
UpdateStrategy: common.DaemonSetRolloutStrategy(),

0 commit comments

Comments
 (0)