From fee6642861ad3eb222b5fef36d06bad9c06a9857 Mon Sep 17 00:00:00 2001 From: Thomas Buchner Date: Fri, 16 Feb 2024 09:37:38 +0100 Subject: [PATCH] use KubeVersion.Version helm value --- .../templates/poddisruptionbudget.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gardener-extension-os-suse-chost/templates/poddisruptionbudget.yaml b/charts/gardener-extension-os-suse-chost/templates/poddisruptionbudget.yaml index 3102d124..b9c102fa 100644 --- a/charts/gardener-extension-os-suse-chost/templates/poddisruptionbudget.yaml +++ b/charts/gardener-extension-os-suse-chost/templates/poddisruptionbudget.yaml @@ -12,6 +12,6 @@ spec: matchLabels: app.kubernetes.io/name: gardener-extension-os-suse-chost app.kubernetes.io/instance: {{ .Release.Name }} -{{- if semverCompare ">= 1.26-0" .Capabilities.KubeVersion.GitVersion }} +{{- if semverCompare ">= 1.26-0" .Capabilities.KubeVersion.Version }} unhealthyPodEvictionPolicy: AlwaysAllow {{- end }}