Skip to content

fix(skmo): look up RabbitMQ credentials via TransportURL and RabbitMQUser status#3956

Open
lmiccini wants to merge 1 commit into
openstack-k8s-operators:mainfrom
lmiccini:fix-leaf-listener-secret-lookup
Open

fix(skmo): look up RabbitMQ credentials via TransportURL and RabbitMQUser status#3956
lmiccini wants to merge 1 commit into
openstack-k8s-operators:mainfrom
lmiccini:fix-leaf-listener-secret-lookup

Conversation

@lmiccini
Copy link
Copy Markdown
Contributor

@lmiccini lmiccini commented May 23, 2026

Instead of hardcoding the secret name pattern, resolve the credentials secret dynamically: TransportURL -> RabbitMQUser CR -> status.secretName. This works with both legacy and canonical (hash-based, see openstack-k8s-operators/infra-operator#583) RabbitMQ user naming schemes.

@lmiccini lmiccini requested a review from vakwetu May 23, 2026 05:44
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 23, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign yorabl for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

…User status

Instead of hardcoding the secret name pattern, resolve the credentials
secret dynamically: TransportURL -> RabbitMQUser CR -> status.secretName.
This works with both legacy and canonical (hash-based) RabbitMQ user
naming schemes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Signed-off-by: Luca Miccini <lmiccini@redhat.com>
@lmiccini lmiccini force-pushed the fix-leaf-listener-secret-lookup branch from 83f3619 to 4d889fa Compare May 23, 2026 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant