Skip to content

Commit

Permalink
use 5.10 across all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ndbaker1 authored Mar 15, 2024
1 parent e66df40 commit 1f0f4f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions templates/al2/provisioners/upgrade-kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ set -o nounset
set -o errexit

if [[ -z "$KERNEL_VERSION" ]]; then
if vercmp "$KUBERNETES_VERSION" gteq "1.23.0"; then
KERNEL_VERSION=5.10
else
KERNEL_VERSION=5.4
KERNEL_VERSION=5.10
fi
echo "kernel_version is unset. Setting to $KERNEL_VERSION based on Kubernetes version $KUBERNETES_VERSION."
fi
Expand Down

0 comments on commit 1f0f4f1

Please sign in to comment.