From 7cfa4f2a2a9e80a4d22597b3f0245ffc3bb33636 Mon Sep 17 00:00:00 2001 From: Agustin Carranza Date: Thu, 29 Sep 2022 12:06:12 -0300 Subject: [PATCH] Replace 'node-role.kubernetes.io/master' label The node-role.kubernetes.io/master label is deprecated for K8s v1.24. This change provides compatibility to the application for such K8s version. This new label is available since K8s v1.20 so it is safe for previous stx version. Test plan PASS: Build the package and install on system with K8s v1.23. Upload, apply the application as usual. Run snmp commands, the system responds correctly. Story: 2010339 Task: 46473 Signed-off-by: Agustin Carranza Change-Id: Ib05e4ebc299d219ef8468b878829631a9506de4b --- stx-snmp-helm/stx-snmp-helm/helm-charts/snmp/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 0aab8c4..bf31913 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 @@ -30,10 +30,10 @@ image: nameOverride: "" fullnameOverride: "" -nodeSelector: { node-role.kubernetes.io/master: "" } +nodeSelector: { node-role.kubernetes.io/control-plane: "" } tolerations: - - key: "node-role.kubernetes.io/master" + - key: "node-role.kubernetes.io/control-plane" operator: "Exists" effect: "NoSchedule"