From ebafbbdda37a3f844280a14f648d23d04184ef3b Mon Sep 17 00:00:00 2001 From: Johannes Kleinlercher Date: Sun, 5 May 2024 08:08:22 +0200 Subject: [PATCH] wait for nginx to be ready --- .github/workflows/cluster-test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/cluster-test.yml b/.github/workflows/cluster-test.yml index de834447..f992dbdc 100644 --- a/.github/workflows/cluster-test.yml +++ b/.github/workflows/cluster-test.yml @@ -35,6 +35,10 @@ jobs: shell: bash run: | kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml + kubectl wait --namespace ingress-nginx \ + --for=condition=ready pod \ + --selector=app.kubernetes.io/component=controller \ + --timeout=90s - name: install k8sgpt shell: bash