From cf51dc2d930d6a2b74df2bbe4dd3d5cbeaa9b028 Mon Sep 17 00:00:00 2001 From: Marco Kilchhofer Date: Mon, 27 Sep 2021 22:39:32 +0200 Subject: [PATCH] chore: Reconfigure KinD to 1 control-plane and 3 worker nodes This prepares chart testing of 'argo-cd' chart with redis-ha enabled. Redis-ha defines hard pod anti-affinity and requires multiple worker nodes. Signed-off-by: Marco Kilchhofer --- .github/configs/kind-config.yaml | 7 +++++++ .github/workflows/lint-and-test.yml | 2 ++ 2 files changed, 9 insertions(+) create mode 100644 .github/configs/kind-config.yaml diff --git a/.github/configs/kind-config.yaml b/.github/configs/kind-config.yaml new file mode 100644 index 00000000..f4bf78cb --- /dev/null +++ b/.github/configs/kind-config.yaml @@ -0,0 +1,7 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: + - role: control-plane + - role: worker + - role: worker + - role: worker diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 3cc795ee..266e1534 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -39,6 +39,8 @@ jobs: - name: Create kind cluster uses: helm/kind-action@v1.2.0 if: steps.list-changed.outputs.changed == 'true' + with: + config: .github/configs/kind-config.yaml - name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions if: |