<p>I am having issues logging in to RabbitMQ through its web management interface when using a custom username and password.</p>
<p>I have an empty <a href="https://microk8s.io/" rel="nofollow noreferrer">microk8s</a> based kubernetes environment and I try to install RabbitMQ like so:</p>
<ol>
<li>Install while setting the username and the password:</li>
</ol>
<pre><code>helm install rabbitmq bitnami/rabbitmq --version 6.27.1 --set auth.username=yolo123,auth.password=prettypig_012
</code></pre>
<ol start="2">
<li>All good, wait for the pod to go online.</li>
<li>Forward ports to be able to access the management interface:</li>
</ol>
<pre><code>kubectl port-forward rabbitmq-0 5672 15672
</code></pre>
<ol start="4">
<li>Access the management through <code>localhost:15672</code></li>
<li>Enter <code>yolo123</code> and <code>prettypig_012</code> as username/password.</li>
<li><strong>Login failed</strong> message appears and the user cannot log in.</li>
</ol>
<p>Are my expectations about logging in wrong here?</p>
<p>Note that I am able to log-in with user user and the auto-generated password in the secret resource created with RabbitMQ installation.</p>
<p><strong>RabbitMQ version</strong></p>
<pre><code>Helm chart: 6.27.1
Application: 3.8.3
</code></pre>
<p><strong>Helm version</strong></p>
<pre><code>version.BuildInfo{Version:&quot;v3.2.3&quot;, GitCommit:&quot;8f832046e258e2cb800894579b1b3b50c2d83492&quot;, GitTreeState:&quot;clean&quot;, GoVersion:&quot;go1.13.12&quot;}
</code></pre>
<p><strong>kubectl version</strong></p>
<pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;18+&quot;, GitVersion:&quot;v1.18.4-1+6f17be3f1fd54a&quot;, GitCommit:&quot;6f17be3f1fd54a88681869d1cf8bedd5a2174504&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-06-23T21:16:24Z&quot;, GoVersion:&quot;go1.14.4&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;18+&quot;, GitVersion:&quot;v1.18.4-1+6f17be3f1fd54a&quot;, GitCommit:&quot;6f17be3f1fd54a88681869d1cf8bedd5a2174504&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-06-23T21:17:52Z&quot;, GoVersion:&quot;go1.14.4&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>

Nikola Malešević
<p>As seen in <a href="https://github.com/bitnami/charts/commit/43e70827ef73560e118907b3a2c0d7d9c72bce52#diff-b81c5c74c5c6f200d8ad669085b8af0fR6" rel="nofollow noreferrer">this commit</a>, <code>auth.username</code> and <code>auth.password</code> should be used with Chart version <code>7.x.x</code>.</p>
<p>For <a href="https://github.com/bitnami/charts/tree/c56fdc45ca6c10d1a44a75a71ca7e26597470833/bitnami/rabbitmq" rel="nofollow noreferrer"><code>6.27.1 version</code></a> use <code>rabbitmq.username</code> and <code>rabbitmq.password</code></p>
