From 5707d28f8ef66aea1fc0bc2c2c371169fdecccbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Sun, 3 Dec 2023 11:49:08 +0100 Subject: [PATCH] chore: install CRDs outside kuttl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .github/workflows/test.yml | 4 ++++ kuttl-test.yaml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0222444e2..3a2c40375 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,6 +84,10 @@ jobs: - name: Wait for kyverno ready run: | kubectl wait --namespace kyverno --for=condition=ready pod --selector '!job-name' --timeout=60s + - name: Install CRDs + run: | + set -e + kubectl apply -f ./CRDs - name: Test with kuttl run: | ./.tools/kubectl-kuttl test ./${{ matrix.tests }} --config ./kuttl-test.yaml diff --git a/kuttl-test.yaml b/kuttl-test.yaml index a72452353..21cdc6222 100644 --- a/kuttl-test.yaml +++ b/kuttl-test.yaml @@ -7,4 +7,3 @@ timeout: 90 parallel: 1 fullName: true skipTestRegex: '_.+' -crdDir: ./CRDs \ No newline at end of file