tolerate both 1.24+ and prior control plane taints (#562)

* tolerate both 1.24+ and prior control plane taints

* bump chart version
This commit is contained in:
Jack Francis
2022-05-25 06:51:27 +02:00
committed by GitHub
parent da59ebff70
commit 9407c3f8f6
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.9.2"
description: A Helm chart for kured
name: kured
version: 2.14.1
version: 2.14.2
home: https://github.com/weaveworks/kured
maintainers:
- name: ckotzbauer
-3
View File
@@ -175,13 +175,10 @@ spec:
{{ toYaml . | indent 8 }}
{{- end }}
{{- else }}
{{- if ge .Capabilities.KubeVersion.Minor "24" }}
- key: node-role.kubernetes.io/control-plane
effect: NoSchedule
{{- else }}
- key: node-role.kubernetes.io/master
effect: NoSchedule
{{- end }}
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector: