Skip to content

Commit 1eab3f9

Browse files
committed
Ensure RabbitmqCluster CRD installed for dataplane kuttl
infra-operator requires the RabbitmqCluster CRD, otherwise it fails with error as it now watches for it[1]. [1] https://github.com/openstack-k8s-operators/infra-operator/blob/main/controllers/rabbitmq/transporturl_controller.go#L353 Signed-off-by: rabi <[email protected]>
1 parent dd95843 commit 1eab3f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,12 +1764,13 @@ dataplane_kuttl_cleanup:
17641764
${CLEANUP_DIR_CMD} ${OPERATOR_BASE_DIR}/dataplane-operator
17651765

17661766
.PHONY: dataplane_kuttl_prep
1767-
dataplane_kuttl_prep: dataplane_kuttl_cleanup input ansibleee infra baremetal dataplane namespace operator_namespace ## Prepares all dependencies for running the dataplane-operator kuttl tests
1767+
dataplane_kuttl_prep: dataplane_kuttl_cleanup input rabbitmq ansibleee infra baremetal dataplane namespace operator_namespace ## Prepares all dependencies for running the dataplane-operator kuttl tests
17681768
$(eval $(call vars,$@,dataplane))
17691769
# Kuttl tests require the SSH key secret to exist
17701770
devsetup/scripts/gen-ansibleee-ssh-key.sh
17711771
mkdir -p ${OPERATOR_BASE_DIR} ${OPERATOR_DIR}
17721772
pushd ${OPERATOR_BASE_DIR} && git clone ${GIT_CLONE_OPTS} $(if $(DATAPLANE_BRANCH),-b ${DATAPLANE_BRANCH}) ${DATAPLANE_REPO} "${OPERATOR_NAME}-operator" && popd
1773+
make wait OPERATOR_NAME=rabbitmq
17731774
make wait OPERATOR_NAME=ansibleee
17741775
make wait OPERATOR_NAME=infra
17751776
make wait OPERATOR_NAME=openstack-baremetal

0 commit comments

Comments
 (0)