From 976c76507330062cacea9a2299e10463ed1ff40f Mon Sep 17 00:00:00 2001 From: Andrew Lavery Date: Tue, 3 Sep 2024 14:15:03 -0400 Subject: [PATCH] cleanup --- pkg/preflight/assets/host-preflights.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/preflight/assets/host-preflights.yaml b/pkg/preflight/assets/host-preflights.yaml index eb5b63eba4..679c31adf9 100644 --- a/pkg/preflight/assets/host-preflights.yaml +++ b/pkg/preflight/assets/host-preflights.yaml @@ -564,7 +564,7 @@ spec: message: "Kots < 1.96.2 is not compatible with Kubernetes >= 1.29.0" - hostOS: checkName: "Docker Support" - exclude: '{{kurl (not .Installer.Spec.Docker.Version) }}' + exclude: '{{kurl not .Installer.Spec.Docker.Version }}' outcomes: - fail: when: "ubuntu = 24.04" @@ -574,7 +574,7 @@ spec: message: "Docker is not supported on AmazonLinux 2023" - hostOS: checkName: "Kubernetes Support" - exclude: '{{kurl (semverCompare ">= 1.24.0" .Installer.Spec.Kubernetes.Version) }}' + exclude: '{{kurl and .Installer.Spec.Kubernetes.Version (semverCompare ">= 1.24.0" .Installer.Spec.Kubernetes.Version) }}' outcomes: - fail: when: "ubuntu = 24.04"