Remove minikube setting
@@ -37,10 +37,8 @@ HELM_VALUES_FILE := manifests/values/deployment-scheduler.yaml
endif
KIND_CONFIG="topolvm-cluster.yaml"
-MINIKUBE_FEATURE_GATES=""
ifeq ($(KUBERNETES_VERSION),1.22.0)
KIND_CONFIG="topolvm-cluster-single-writer.yaml"
-MINIKUBE_FEATURE_GATES="ReadWriteOncePod=true"
endif
HELM_VALUES_FILE_LVMD := ""
@@ -208,9 +206,7 @@ daemonset-lvmd/launch-minikube:
$(SUDO) -E $(BINDIR)/minikube start \
--vm-driver=none \
--kubernetes-version=v$(KUBERNETES_VERSION) \
- --extra-config=kubelet.read-only-port=10255 \
- --feature-gates=$(MINIKUBE_FEATURE_GATES) \
- --extra-config=scheduler.feature-gates=$(MINIKUBE_FEATURE_GATES)
+ --extra-config=kubelet.read-only-port=10255
$(SUDO) chown -R $$USER $$HOME/.kube $(MINIKUBE_HOME)/.minikube
$(SUDO) chmod -R a+r $$HOME/.kube $(MINIKUBE_HOME)/.minikube
$(SUDO) find $(MINIKUBE_HOME)/.minikube -name id_rsa -exec chmod 600 {} ';'
@@ -239,7 +235,7 @@ ifneq ($(HELM_VALUES_FILE_LVMD),"")
$(HELM) dependency build ../charts/topolvm/
$(HELM) install --create-namespace --namespace=topolvm-system topolvm ../charts/topolvm/ -f $(HELM_VALUES_FILE_LVMD)
$(KUBECTL) apply -f manifests/common/
- $(SUDO) -E env PATH=${PATH} E2ETEST=1 BINDIR=$(BINDIR) STORAGE_CAPACITY=$(STORAGE_CAPACITY) READ_WRITE_ONCE_POD=$(READ_WRITE_ONCE_POD) DAEMONSET_LVMD=true GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn $(GINKGO) --failFast -v .
+ $(SUDO) -E env PATH=${PATH} E2ETEST=1 BINDIR=$(BINDIR) STORAGE_CAPACITY=$(STORAGE_CAPACITY) DAEMONSET_LVMD=true GOLANG_PROTOBUF_REGISTRATION_CONFLICT=warn $(GINKGO) --failFast -v .
endif
.PHONY: daemonset-lvmd/clean
