diff --git a/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh b/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh index 2cc9328b..c6075776 100755 --- a/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh +++ b/.github/workflows/e2e/scripts/hpo-install-helm-project-operator.sh @@ -10,7 +10,7 @@ latest_chart=./packages/helm-project-operator/charts case "${KUBERNETES_DISTRIBUTION_TYPE}" in "k3s") cluster_args="" - kubernetes_version=$(kubectl version --short | grep "Server Version" | cut -d ' ' -f3) + kubernetes_version=$(kubectl version | grep "Server Version" | cut -d ' ' -f3) case "${kubernetes_version}" in v1.23.*) embedded_helm_controller_fixed_version="v1.23.14" @@ -37,7 +37,7 @@ case "${KUBERNETES_DISTRIBUTION_TYPE}" in ;; "rke2") cluster_args="" - kubernetes_version=$(kubectl version --short | grep "Server Version" | cut -d ' ' -f3) + kubernetes_version=$(kubectl version | grep "Server Version" | cut -d ' ' -f3) case "${kubernetes_version}" in v1.23.*) embedded_helm_controller_fixed_version="v1.23.14" diff --git a/.github/workflows/e2e/scripts/install-federator.sh b/.github/workflows/e2e/scripts/install-federator.sh index 1a22fb9a..a472407b 100755 --- a/.github/workflows/e2e/scripts/install-federator.sh +++ b/.github/workflows/e2e/scripts/install-federator.sh @@ -11,7 +11,7 @@ latest_chart=$(find ./charts/prometheus-federator -type d -maxdepth 1 -mindepth case "${KUBERNETES_DISTRIBUTION_TYPE}" in "k3s") cluster_args="" - kubernetes_version=$(kubectl version --short | grep "Server Version" | cut -d ' ' -f3) + kubernetes_version=$(kubectl version | grep "Server Version" | cut -d ' ' -f3) case "${kubernetes_version}" in v1.23.*) embedded_helm_controller_fixed_version="v1.23.14" @@ -38,7 +38,7 @@ case "${KUBERNETES_DISTRIBUTION_TYPE}" in ;; "rke2") cluster_args="" - kubernetes_version=$(kubectl version --short | grep "Server Version" | cut -d ' ' -f3) + kubernetes_version=$(kubectl version | grep "Server Version" | cut -d ' ' -f3) case "${kubernetes_version}" in v1.23.*) embedded_helm_controller_fixed_version="v1.23.14"