From 8e383b739751cf8fdd254cce88e07e90dc5ee7d6 Mon Sep 17 00:00:00 2001 From: Ruben Vargas <ruben.vp8510@gmail.com> Date: Sun, 23 May 2021 20:11:43 -0500 Subject: [PATCH] bump minikube and kubernetes versions Signed-off-by: Ruben Vargas <ruben.vp8510@gmail.com> --- .ci/start-minikube.sh | 6 +++--- .github/workflows/e2e-kubernetes.yaml | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.ci/start-minikube.sh b/.ci/start-minikube.sh index 2fe0e80920..8448fe8775 100755 --- a/.ci/start-minikube.sh +++ b/.ci/start-minikube.sh @@ -15,8 +15,8 @@ set -x # socat is needed for port forwarding sudo apt-get update && sudo apt-get install socat -export MINIKUBE_VERSION=v1.5.2 -export KUBERNETES_VERSION=v1.16.2 +export MINIKUBE_VERSION=v1.11.0 +export KUBERNETES_VERSION=v1.19.1 MINIKUBE=$(which minikube) # it's outside of the regular PATH, so, need the full path when calling with sudo @@ -32,7 +32,7 @@ minikube config set WantNoneDriverWarning false minikube config set vm-driver none minikube version -sudo ${MINIKUBE} start --kubernetes-version=$KUBERNETES_VERSION --extra-config=apiserver.authorization-mode=RBAC +sudo ${MINIKUBE} start --kubernetes-version=$KUBERNETES_VERSION --extra-config=apiserver.authorization-mode=RBAC,Node sudo chown -R $USER $HOME/.kube $HOME/.minikube minikube update-context diff --git a/.github/workflows/e2e-kubernetes.yaml b/.github/workflows/e2e-kubernetes.yaml index ec3e069637..b454849969 100644 --- a/.github/workflows/e2e-kubernetes.yaml +++ b/.github/workflows/e2e-kubernetes.yaml @@ -16,9 +16,11 @@ jobs: - uses: actions/setup-go@v2.1.3 with: go-version: '1.14.4' + - name: "install pre-requisites" + run: sudo apt-get install -y conntrack - uses: jpkrohling/setup-minikube@v1.0.2 with: - minikube-version: v1.5.2 + minikube-version: v1.11.0 - uses: jpkrohling/setup-kubectl@v1.0.2 - uses: jpkrohling/setup-operator-sdk@v1.0.2 with: