Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
muicoder committed Dec 29, 2023
1 parent 1f252a6 commit 8974e56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/scripts/kubernetes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ if [[ "${KUBE_XY//./}" -ge 126 ]] && [[ "${SEALOS_XYZ//./}" -le 413 ]] && [[ -z
echo https://kubernetes.io/blog/2022/11/18/upcoming-changes-in-kubernetes-1-26/#cri-api-removal
exit
fi
# Check support for kube-v1.22+ with sealos v5+
if [[ "${KUBE_XY//./}" -lt 122 ]] && [[ "${SEALOS_XYZ%%.*}" -le 5 ]]; then
echo "INFO::skip $KUBE(kube<1.22) when $SEALOS(sealos>=5)"
exit
fi

# image-cri-shim sealctl
if [[ -n "$sealosPatch" ]]; then
Expand Down

0 comments on commit 8974e56

Please sign in to comment.