Fix RabbitMQ init account startup config#2684
Open
weicao wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2684 +/- ##
=====================================
Coverage 0.00% 0.00%
=====================================
Files 73 73
Lines 9197 9197
=====================================
Misses 9197 9197 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Contributor
Author
|
RabbitMQ PR candidate pre-validation on Mason 1.2.0 vcluster is complete for addon PR #2684 + kubeblocks-tests PR #70. Candidate identity:
Results:
Cleanup:
CI state at the time of this comment:
|
xuriwuyun
approved these changes
Jun 1, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RabbitMQ 3.8.x does not create the KubeBlocks root init account when the addon command bypasses the image entrypoint and only sets RABBITMQ_DEFAULT_USER/PASS in env. The live versions suite showed 3.8.34 started with only guest/guest while the root Secret/env existed.\n\nThis patch writes a small /etc/rabbitmq/conf.d/10-kubeblocks-default-user.conf file from RABBITMQ_DEFAULT_USER/PASS before execing rabbitmq-server, avoiding the full docker-entrypoint path because that also generates a duplicate 5672 listener on 3.8.\n\nValidation:\n- helm template rabbitmq addons/rabbitmq --namespace kb-system\n- git diff --check\n- kubeblocks-tests static PASS 19/0/0 with added default_user/default_pass render gate\n- Focused patch validation with temporary CmpD and RABBITMQ_VERSION_MATRIX=3.8.34 PASS 4/0/0, artifact repos/kubeblocks-tests/rabbitmq/artifacts/20260527-203419/summary.txt\n\nBoundary: focused patch validation only; full versions re-run should happen after this chart change is installed under a new immutable ComponentDefinition identity.