From 888b6a8ed9e26fcf5b07f65a5cf87a30a27c5271 Mon Sep 17 00:00:00 2001 From: ChristianZaccaria Date: Tue, 30 Jan 2024 17:17:37 +0000 Subject: [PATCH] Add Host to Container port mapping for KinD Cluster --- test/e2e/kind.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e/kind.sh b/test/e2e/kind.sh index 5b39a164e..db53893c4 100755 --- a/test/e2e/kind.sh +++ b/test/e2e/kind.sh @@ -24,6 +24,10 @@ apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane image: kindest/node:v1.25.3@sha256:f52781bc0d7a19fb6c405c2af83abfeb311f130707a0e219175677e366cc45d1 + extraPortMappings: + - containerPort: 80 + hostPort: 80 + protocol: TCP kubeadmConfigPatches: - | kind: InitConfiguration