From d1df594306de330352dbd4f556b3a902c067ed31 Mon Sep 17 00:00:00 2001 From: Lukas Piwowarski Date: Tue, 30 Jul 2024 11:44:58 +0200 Subject: [PATCH] [test-operator][horizon] Fix Horizon CR name This patch ensures that we are creating Horizon CR instance with name set to a value that we later search for when requesting a status of openshift jobs. Previously we were creating Horizon CR with name horizontest name but were querying jobs with name horizontest-tests [1]. [1] https://github.com/openstack-k8s-operators/ci-framework/blob/ad0110d522dac0a1f3637c4207c45ac36b827ef3/roles/test_operator/vars/main.yml#L20 --- roles/test_operator/defaults/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/test_operator/defaults/main.yml b/roles/test_operator/defaults/main.yml index 8b550a051c..4b11637c0c 100644 --- a/roles/test_operator/defaults/main.yml +++ b/roles/test_operator/defaults/main.yml @@ -218,7 +218,7 @@ cifmw_test_operator_horizontest_config: apiVersion: test.openstack.org/v1beta1 kind: HorizonTest metadata: - name: horizontest + name: "{{ {{ cifmw_test_operator_horizontest_name }}" namespace: "{{ cifmw_test_operator_namespace }}" spec: storageClass: "{{ cifmw_test_operator_storage_class }}"