From b74b00fa5fcb630a2f2c561fd7887339ea72beda Mon Sep 17 00:00:00 2001 From: Agustin Carranza Date: Tue, 25 Oct 2022 17:34:35 -0300 Subject: [PATCH] Add legacy control-plane toleration The node-role.kubernetes.io/master:NoSchedule taint is being replaced by node-role.kubernetes.io/control-plane:NoSchedule The legacy toleration had been replaced in this app before but we need to keep both for a compatibility reason. So both taints are being supported. Test plan: PASS: * Upload and apply the app on a standard configuration lab. * Check it runs on the control-plane nodes. * Add a "control-plane" taint similar to the existing "master" one * Ensure that the app containers still run on the control-plane nodes. Story: 2010339 Task: 46671 Signed-off-by: Agustin Carranza Change-Id: Ib9e7525858756b2b797686eb418ea3a6beb844a8 --- stx-snmp-helm/stx-snmp-helm/helm-charts/snmp/values.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stx-snmp-helm/stx-snmp-helm/helm-charts/snmp/values.yaml b/stx-snmp-helm/stx-snmp-helm/helm-charts/snmp/values.yaml index bf31913..775587c 100755 --- a/stx-snmp-helm/stx-snmp-helm/helm-charts/snmp/values.yaml +++ b/stx-snmp-helm/stx-snmp-helm/helm-charts/snmp/values.yaml @@ -36,6 +36,9 @@ tolerations: - key: "node-role.kubernetes.io/control-plane" operator: "Exists" effect: "NoSchedule" + - key: "node-role.kubernetes.io/master" + operator: "Exists" + effect: "NoSchedule" configmap: name_snmpd: snmpd-etc-config