diff --git a/stable/traefik/Chart.yaml b/stable/traefik/Chart.yaml index 49411621c3..0fc132e457 100755 --- a/stable/traefik/Chart.yaml +++ b/stable/traefik/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: traefik -version: 1.29.2 +version: 1.29.3 appVersion: 1.5.4 description: A Traefik based Kubernetes ingress controller with Let's Encrypt support keywords: diff --git a/stable/traefik/templates/deployment.yaml b/stable/traefik/templates/deployment.yaml index a458187844..37be384c53 100644 --- a/stable/traefik/templates/deployment.yaml +++ b/stable/traefik/templates/deployment.yaml @@ -17,7 +17,7 @@ spec: metadata: annotations: checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} - {{- if and (.Values.tolerations) (le .Capabilities.KubeVersion.Minor "5") }} + {{- if and (.Values.tolerations) (semverCompare "<1.6-0" .Capabilities.KubeVersion.GitVersion) }} scheduler.alpha.kubernetes.io/tolerations: '{{ toJson .Values.tolerations }}' {{- end }} {{- range $key, $value := .Values.deployment.podAnnotations }} @@ -134,7 +134,7 @@ spec: emptyDir: {} {{- end }} {{- end }} - {{- if and (.Values.tolerations) (ge .Capabilities.KubeVersion.Minor "6") }} + {{- if and (.Values.tolerations) (semverCompare "^1.6-0" .Capabilities.KubeVersion.GitVersion) }} tolerations: {{ toYaml .Values.tolerations | indent 6 }} {{- end }}