diff --git a/.github/workflows/test-haproxy-ingress.yml b/.github/workflows/test-haproxy-ingress.yml index 651f10d..26fd788 100644 --- a/.github/workflows/test-haproxy-ingress.yml +++ b/.github/workflows/test-haproxy-ingress.yml @@ -35,22 +35,22 @@ jobs: npm install -g wscat sudo apt-get update && sudo apt-get install -y curl - - name: Create kind cluster - uses: helm/kind-action@v1.9.0 - with: - wait: 600s - config: | - kind: Cluster - apiVersion: kind.x-k8s.io/v1alpha4 - nodes: - - role: control-plane - extraPortMappings: - - containerPort: 80 - hostPort: 80 - protocol: TCP - - containerPort: 443 - hostPort: 443 - protocol: TCP + - name: Create kind cluster + uses: helm/kind-action@v1.9.0 + with: + wait: 600s + config: |- + kind: Cluster + apiVersion: kind.x-k8s.io/v1alpha4 + nodes: + - role: control-plane + extraPortMappings: + - containerPort: 80 + hostPort: 80 + protocol: TCP + - containerPort: 443 + hostPort: 443 + protocol: TCP - name: Install HAProxy Ingress Controller run: | diff --git a/.github/workflows/test-nginx-ingress.yml b/.github/workflows/test-nginx-ingress.yml index ae07844..0c90872 100644 --- a/.github/workflows/test-nginx-ingress.yml +++ b/.github/workflows/test-nginx-ingress.yml @@ -39,17 +39,11 @@ jobs: uses: helm/kind-action@v1.9.0 with: wait: 600s - config: | + config: |- kind: Cluster apiVersion: kind.x-k8s.io/v1alpha4 nodes: - role: control-plane - kubeadmConfigPatches: - - | - kind: InitConfiguration - nodeRegistration: - kubeletExtraArgs: - node-labels: "ingress-ready=true" extraPortMappings: - containerPort: 80 hostPort: 80