Skip to content

Commit

Permalink
add kubernetes + docker version preflights for Ubuntu 24.04 and Amazo…
Browse files Browse the repository at this point in the history
…n Linux 2023 (#5386)

* add kubernetes + docker version preflights for Ubuntu 24.04 and AmazonLinux 2023

* cleanup
  • Loading branch information
laverya authored Sep 3, 2024
1 parent d8ad88b commit 24e0e34
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions pkg/preflight/assets/host-preflights.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -562,3 +562,23 @@ spec:
outcomes:
- fail:
message: "Kots < 1.96.2 is not compatible with Kubernetes >= 1.29.0"
- hostOS:
checkName: "Docker Support"
exclude: '{{kurl not .Installer.Spec.Docker.Version }}'
outcomes:
- fail:
when: "ubuntu = 24.04"
message: "Docker is not supported on Ubuntu 24.04"
- fail:
when: "amazonlinux = 2023"
message: "Docker is not supported on AmazonLinux 2023"
- hostOS:
checkName: "Kubernetes Support"
exclude: '{{kurl and .Installer.Spec.Kubernetes.Version (semverCompare ">= 1.24.0" .Installer.Spec.Kubernetes.Version) }}'
outcomes:
- fail:
when: "ubuntu = 24.04"
message: "Kubernetes versions < 1.24.0 are not supported on Ubuntu 24.04"
- fail:
when: "amazonlinux = 2023"
message: "Kubernetes versions < 1.24.0 are not supported on AmazonLinux 2023"

0 comments on commit 24e0e34

Please sign in to comment.