From ea58600554de3df8b6cebac31923bfe9fc84fd51 Mon Sep 17 00:00:00 2001 From: Vida Haririan Date: Tue, 8 Aug 2023 16:35:51 -0400 Subject: [PATCH] Change kuttl test to run in any namespace --- kuttl-test.yaml | 2 +- tests/kuttl/tests/basic-deployment/01-deploy-barbican.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kuttl-test.yaml b/kuttl-test.yaml index cf7fcae..46c7616 100644 --- a/kuttl-test.yaml +++ b/kuttl-test.yaml @@ -16,8 +16,8 @@ apiVersion: kuttl.dev/v1beta1 kind: TestSuite reportFormat: JSON reportName: kuttl-test-barbican +namespace: barbican-kuttl-tests timeout: 180 -namespace: openstack parallel: 1 suppress: - events # Remove spammy event logs diff --git a/tests/kuttl/tests/basic-deployment/01-deploy-barbican.yaml b/tests/kuttl/tests/basic-deployment/01-deploy-barbican.yaml index 65e0362..3202c06 100644 --- a/tests/kuttl/tests/basic-deployment/01-deploy-barbican.yaml +++ b/tests/kuttl/tests/basic-deployment/01-deploy-barbican.yaml @@ -2,4 +2,4 @@ apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - script: | - oc apply -n openstack -f ../../../../config/samples/barbican_v1beta1_barbican.yaml + oc apply -n $NAMESPACE -f ../../../../config/samples/barbican_v1beta1_barbican.yaml