From dc295a445098dbe4c7e2e30ab86040ac2bc1a41e Mon Sep 17 00:00:00 2001 From: Madhu Rajanna Date: Wed, 14 Aug 2024 12:03:08 +0200 Subject: [PATCH] ci: remove feature gates Remove the feature gates as they are not required anymore as they are already in beta and few removed in 1.31.0 Signed-off-by: Madhu Rajanna --- scripts/minikube.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/minikube.sh b/scripts/minikube.sh index 32202b757ce..b17f6883798 100755 --- a/scripts/minikube.sh +++ b/scripts/minikube.sh @@ -255,15 +255,6 @@ up) install_podman_wrapper fi - # get kubernetes version we are operating on and accordingly enable feature gates - KUBE_MAJOR=$(kube_version 1) - KUBE_MINOR=$(kube_version 2) - if [ "${KUBE_MAJOR}" -eq 1 ] && [ "${KUBE_MINOR}" -ge 22 ];then - K8S_FEATURE_GATES="${K8S_FEATURE_GATES},ReadWriteOncePod=true" - fi - if [ "${KUBE_MAJOR}" -eq 1 ] && [ "${KUBE_MINOR}" -ge 23 ];then - K8S_FEATURE_GATES="${K8S_FEATURE_GATES},RecoverVolumeExpansionFailure=true" - fi # shellcheck disable=SC2086 ${minikube} start --force --memory="${MEMORY}" --cpus="${CPUS}" -b kubeadm --kubernetes-version="${KUBE_VERSION}" --driver="${VM_DRIVER}" --feature-gates="${K8S_FEATURE_GATES}" --cni="${CNI}" ${EXTRA_CONFIG} --wait-timeout="${MINIKUBE_WAIT_TIMEOUT}" --wait="${MINIKUBE_WAIT}" --delete-on-failure ${DISK_CONFIG} # shellcheck disable=SC2086