Set k8s version kind should use for dev environment
This commit is contained in:
parent
f20b9befd0
commit
2738d8f963
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ KIND_CLUSTER_NAME="ingress-nginx-dev"
|
||||||
|
|
||||||
if ! kind get clusters -q | grep -q ${KIND_CLUSTER_NAME}; then
|
if ! kind get clusters -q | grep -q ${KIND_CLUSTER_NAME}; then
|
||||||
echo "[dev-env] creating Kubernetes cluster with kind"
|
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
|
kind: Cluster
|
||||||
apiVersion: kind.x-k8s.io/v1alpha4
|
apiVersion: kind.x-k8s.io/v1alpha4
|
||||||
nodes:
|
nodes:
|
||||||
|
|
Loading…
Reference in a new issue