-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This Patch is creating the required RabbitMQ infra via TransportURL CR. - It adds RabbitMqClusterName param to the spec and WatcherRabbitMQTransportURLReadyCondition to the conditions list. - It adds logic to the watcher controller to create a TransportURL object from rabbitmq in infra-operator. - Adds functional envtest tests for the added feature.
- Loading branch information
Showing
15 changed files
with
321 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package v1beta1 | ||
|
||
import "github.com/openstack-k8s-operators/lib-common/modules/common/condition" | ||
|
||
const ( | ||
// WatcherRabbitMQTransportURLReadyCondition - | ||
WatcherRabbitMQTransportURLReadyCondition condition.Type = "WatcherRabbitMQTransportURLReady" | ||
) | ||
|
||
const ( | ||
// WatcherRabbitMQTransportURLReadyRunningMessage - | ||
WatcherRabbitMQTransportURLReadyRunningMessage = "WatcherRabbitMQTransportURL creation in progress" | ||
// WatcherRabbitMQTransportURLReadyMessage - | ||
WatcherRabbitMQTransportURLReadyMessage = "WatcherRabbitMQTransportURL successfully created" | ||
// WatcherRabbitMQTransportURLReadyErrorMessage - | ||
WatcherRabbitMQTransportURLReadyErrorMessage = "WatcherRabbitMQTransportURL error occured %s" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.