Set k8s version kind should use for dev environment

This commit is contained in:
Manuel Alejandro de Brito Fontes 2020-04-04 17:23:16 -03:00
parent f20b9befd0
commit 2738d8f963

View file

@ -69,7 +69,7 @@ KIND_CLUSTER_NAME="ingress-nginx-dev"
if ! kind get clusters -q | grep -q ${KIND_CLUSTER_NAME}; then
echo "[dev-env] creating Kubernetes cluster with kind"
cat <<EOF | kind create cluster --name ${KIND_CLUSTER_NAME} --config=-
cat <<EOF | kind create cluster --name ${KIND_CLUSTER_NAME} --image "kindest/node:${K8S_VERSION}" --config=-
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes: