Hi,
I am using the image available at docker hub (rabbitmq:3-management). I was going through the dockerfile and entry point but could not get how the user and password creation is happening.
The confusion starts here, as I don't see rabbitmq by itself support environment variable
but in the community image, it does. Below lines from the doc and I have tested also
"The administrative user credentials should be stored in a Kubernetes Secret, and mounting them onto the RabbitMQ Pods. The RABBITMQ_DEFAULT_USER and RABBITMQ_DEFAULT_PASS environment variables then can be set to the Secret values. The community Docker image will use them to override default user credentials."
so basically how those env variables are getting used as it is not running rabbitmqctl to create a user (at least could not find in entry point) neither it is storing in different config file from where it is getting loaded .
Please direct me if I am missing anything on the basic understanding part, will go through that.