Skip to content

Commit

Permalink
. (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeaty-cisco authored Jan 28, 2025
1 parent 4654c73 commit 11de670
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
7 changes: 3 additions & 4 deletions aws-quickstart
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ OPTIONS:
Destroy the workload and infrastructure.
--kubernetes-version
Kubernetes version to use. This must be one of: 1.24, 1.25, 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32
Kubernetes version to use. This must be one of: 1.25, 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32
(default: 1.32).
EOF
}
Expand Down Expand Up @@ -101,16 +101,15 @@ if [ -z "${BASTION_REMOTE_ACCESS_CIDR_BLOCKS:-}" ] && [ -z "$DESTROY" ]; then
ERROR=1
fi

if [ "${KUBERNETES_VERSION}" != "1.24" ] &&
[ "${KUBERNETES_VERSION}" != "1.25" ] &&
if [ "${KUBERNETES_VERSION}" != "1.25" ] &&
[ "${KUBERNETES_VERSION}" != "1.26" ] &&
[ "${KUBERNETES_VERSION}" != "1.27" ] &&
[ "${KUBERNETES_VERSION}" != "1.28" ] &&
[ "${KUBERNETES_VERSION}" != "1.29" ] &&
[ "${KUBERNETES_VERSION}" != "1.30" ] &&
[ "${KUBERNETES_VERSION}" != "1.31" ] &&
[ "${KUBERNETES_VERSION}" != "1.32" ]; then
>&2 echo "error: Kubernetes version (--kubernetes-version) must be one of: 1.24, 1.25, 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32"
>&2 echo "error: Kubernetes version (--kubernetes-version) must be one of: 1.25, 1.26, 1.27, 1.28, 1.29, 1.30, 1.31, 1.32"
ERROR=1
fi

Expand Down
1 change: 0 additions & 1 deletion tests/ut/test_eks.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ def test_defaults(
@pytest.mark.parametrize(
"cluster_version",
(
"1.24",
"1.25",
"1.26",
"1.27",
Expand Down

0 comments on commit 11de670

Please sign in to comment.