Add toleration to snmp pods

A toleration needs to be added to all pods since the
node-role.kubernetes.io/master taint will be restored to all master
nodes. This will ensure that the pod will run on the master node.

Story: 2009232
Task: 43339

Signed-off-by: Enzo Candotti <enzo.candotti@windriver.com>
Change-Id: I986b16217f8f5fbb0b902d29b30d0a2c9a718273
This commit is contained in:
Enzo Candotti 2021-09-16 17:40:47 -03:00
parent 75694acecc
commit 602e6c4783

View File

@ -23,6 +23,10 @@ spec:
spec:
imagePullSecrets:
- name: default-registry-key
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
containers:
- name: {{ .Chart.Name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"