This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch release-2.1.x in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/release-2.1.x by this push: new 6ee636a8a fix(e2e): Error in check crd support script 6ee636a8a is described below commit 6ee636a8a7e9f58a9b1a1bd06c249e5707df6760 Author: Gaelle Fournier <gaelle.fournier.w...@gmail.com> AuthorDate: Fri Nov 24 16:55:42 2023 +0100 fix(e2e): Error in check crd support script --- script/check_crd_api_support.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/check_crd_api_support.sh b/script/check_crd_api_support.sh index b45ad83fa..fa9e3e4e4 100755 --- a/script/check_crd_api_support.sh +++ b/script/check_crd_api_support.sh @@ -53,9 +53,9 @@ fi crd_version=$("${client}" explain customresourcedefinitions | grep VERSION | awk '{print $2}') api="apiextensions.k8s.io" -if [ "${crd_version}" == "${api}/v1beta1" ]; then +if [ "${crd_version}" == "${api}/v1beta1" ] || [ "${crd_version}" == "v1beta1" ]; then echo "ERROR: CRD API version is too old to install camel-k in this way. Try using the client CLI app, which is able to convert the APIs." -elif [ "${crd_version}" != "${api}/v1" ]; then +elif [ "${crd_version}" != "${api}/v1" ] && [ "${crd_version}" != "v1" ]; then echo "ERROR: CRD API version '${crd_version}' is not supported." else echo "OK"