Skip to content

Commit

Permalink
[test-operator][horizon] Fix Horizon CR name
Browse files Browse the repository at this point in the history
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
  • Loading branch information
lpiwowar committed Jul 30, 2024
1 parent e16dcda commit d1df594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/test_operator/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit d1df594

Please sign in to comment.