From 1531b9efad2f74eb11d731e390188473d0bd9e27 Mon Sep 17 00:00:00 2001 From: Ivan Zubenko Date: Wed, 18 Jan 2023 22:49:16 +0200 Subject: [PATCH] fix build --- tests/k8s/cluster.sh | 10 +++++----- tests/k8s/logging.yml | 2 +- tests/k8s/platformadmin.yml | 2 +- tests/k8s/platformapi.yml | 2 +- tests/k8s/platformconfig.yml | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/k8s/cluster.sh b/tests/k8s/cluster.sh index 6886355e..e742121c 100755 --- a/tests/k8s/cluster.sh +++ b/tests/k8s/cluster.sh @@ -4,10 +4,14 @@ # https://github.com/kubernetes/minikube#linux-continuous-integration-without-vm-support function k8s::install_minikube { - local minikube_version="v1.11.0" + local minikube_version="v1.25.2" + sudo apt-get update + sudo apt-get install -y conntrack curl -Lo minikube https://storage.googleapis.com/minikube/releases/${minikube_version}/minikube-linux-amd64 chmod +x minikube sudo mv minikube /usr/local/bin/ + sudo -E minikube config set WantReportErrorPrompt false + sudo -E minikube config set WantNoneDriverWarning false } function k8s::start { @@ -20,12 +24,8 @@ function k8s::start { export MINIKUBE_HOME=$HOME export CHANGE_MINIKUBE_NONE_USER=true - sudo -E minikube config set WantReportErrorPrompt false - sudo -E minikube config set WantNoneDriverWarning false - sudo -E minikube start \ --vm-driver=none \ - --kubernetes-version=v1.14.10 \ --install-addons=true \ --addons=registry \ --wait=all \ diff --git a/tests/k8s/logging.yml b/tests/k8s/logging.yml index 5bd17571..255ffc92 100644 --- a/tests/k8s/logging.yml +++ b/tests/k8s/logging.yml @@ -59,7 +59,7 @@ spec: - name: MINIO_ROOT_PASSWORD value: secret_key - name: MINIO_STORAGE_CLASS_STANDARD - value: EC:4 + value: EC:0 volumeMounts: - mountPath: /data name: data diff --git a/tests/k8s/platformadmin.yml b/tests/k8s/platformadmin.yml index 294bff42..94f52570 100644 --- a/tests/k8s/platformadmin.yml +++ b/tests/k8s/platformadmin.yml @@ -14,7 +14,7 @@ spec: spec: containers: - name: postgres - image: postgres:11.3 + image: postgres:12.11 env: - name: POSTGRES_DB value: postgres diff --git a/tests/k8s/platformapi.yml b/tests/k8s/platformapi.yml index 683d5fe9..d52c6364 100644 --- a/tests/k8s/platformapi.yml +++ b/tests/k8s/platformapi.yml @@ -14,7 +14,7 @@ spec: spec: containers: - name: platformpostgres - image: postgres:11.3 + image: postgres:12.11 env: - name: POSTGRES_DB value: postgres diff --git a/tests/k8s/platformconfig.yml b/tests/k8s/platformconfig.yml index 3046a687..f1f9a714 100644 --- a/tests/k8s/platformconfig.yml +++ b/tests/k8s/platformconfig.yml @@ -138,7 +138,7 @@ spec: spec: containers: - name: postgres - image: postgres:11.3 + image: postgres:12.11 imagePullPolicy: "IfNotPresent" ports: - containerPort: 5432