From 294fb06c4690137330186d9d465865f3218ff8f8 Mon Sep 17 00:00:00 2001 From: Toon Willems Date: Wed, 15 Jan 2025 10:35:20 +0100 Subject: [PATCH] Try and add more nodes to see if that makes a difference --- .github/workflows/chart-testing.yml | 2 ++ charts/lago/templates/clock-deployment.yaml | 7 +++++++ kind.yaml | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 kind.yaml diff --git a/.github/workflows/chart-testing.yml b/.github/workflows/chart-testing.yml index cec57d0..db4cb5a 100644 --- a/.github/workflows/chart-testing.yml +++ b/.github/workflows/chart-testing.yml @@ -40,6 +40,8 @@ jobs: - name: Create kind cluster uses: helm/kind-action@v1.12.0 if: steps.list-changed.outputs.changed == 'true' + with: + config: kind.yaml - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' diff --git a/charts/lago/templates/clock-deployment.yaml b/charts/lago/templates/clock-deployment.yaml index 188aad2..6fbdc1c 100644 --- a/charts/lago/templates/clock-deployment.yaml +++ b/charts/lago/templates/clock-deployment.yaml @@ -45,6 +45,13 @@ spec: - --for=condition=ready - --timeout=180s {{ end }} + - name: wait-for-migrations + image: "docker.io/bitnami/kubectl:{{ include "kubectlVersion" . }}" + args: + - wait + - job/{{ include "migrateJobName" . }} + - --for=condition=complete + - --timeout=180s containers: - args: ["./scripts/start.clock.sh"] env: diff --git a/kind.yaml b/kind.yaml new file mode 100644 index 0000000..752e993 --- /dev/null +++ b/kind.yaml @@ -0,0 +1,6 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane +- role: worker +- role: worker