Skip to content

Annotate RabbitmqCluster object with version after deployment #2049

@Zerpet

Description

@Zerpet

Is your feature request related to a problem? Please describe.
The operator could have different behaviour, depending on which RabbitMQ version it has deployed. This is not possible at the moment because the operator does not know what version of RabbitMQ is deploying at any given moment.

Describe the solution you'd like
As a post-deploy step, or at any point that makes sense, the cluster-operator can consult the HTTP API to determine with precision the RabbitMQ version. With that information, it will create an annotation in the RabbitmqCluster object. Future reconcile loops can leverage this annotation if present.

Describe alternatives you've considered
Parsing a tag name is not a reliable method to determine RabbitMQ version. This information must come from RabbitMQ itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions