Skip to content

Commit bd0e3bc

Browse files
authored
Merge pull request #1365 from mrueg/e2e-kind
e2e.sh: Update to kind v0.10.0
2 parents b4fb3d4 + 785eef5 commit bd0e3bc

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ BUILD_DATE = $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
1313
GIT_COMMIT ?= $(shell git rev-parse --short HEAD)
1414
ALL_ARCH = amd64 arm arm64 ppc64le s390x
1515
PKG = github.com/prometheus/common
16-
GO_VERSION = 1.15.3
16+
GO_VERSION = 1.15.7
1717
IMAGE = $(REGISTRY)/kube-state-metrics
1818
MULTI_ARCH_IMG = $(IMAGE)-$(ARCH)
1919
USER ?= $(shell id -u -n)

tests/e2e.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,14 @@ case $(uname -m) in
2323
*) ARCH="$(uname -m)";;
2424
esac
2525

26-
KUBERNETES_VERSION=v1.19.1
26+
KUBERNETES_VERSION="v1.19.1"
27+
NODE_IMAGE_NAME="docker.io/kindest/node"
2728
KUBE_STATE_METRICS_LOG_DIR=./log
2829
KUBE_STATE_METRICS_IMAGE_NAME="quay.io/coreos/kube-state-metrics-${ARCH}"
2930
KUBE_STATE_METRICS_CURRENT_IMAGE_NAME="k8s.gcr.io/kube-state-metrics/kube-state-metrics"
3031
E2E_SETUP_KIND=${E2E_SETUP_KIND:-}
3132
E2E_SETUP_KUBECTL=${E2E_SETUP_KUBECTL:-}
32-
KIND_VERSION=v0.9.0
33+
KIND_VERSION=v0.10.0
3334
SUDO=${SUDO:-}
3435

3536
OS=$(uname -s | awk '{print tolower($0)}')
@@ -68,7 +69,7 @@ touch "${HOME}"/.kube/config
6869

6970
export KUBECONFIG=$HOME/.kube/config
7071

71-
kind create cluster --image=kindest/node:${KUBERNETES_VERSION}
72+
kind create cluster --image=${NODE_IMAGE_NAME}:${KUBERNETES_VERSION}
7273

7374
kind export kubeconfig
7475

0 commit comments

Comments
 (0)