title: RabbitMQ pod web username and password?
body: <p>I am trying to learn more about Kubernetes in my spare time.</p>
  
  <p>At the moment I am trying to setup RabbitMQ, so I went here: <a href="https://github.com/bitnami/charts/tree/master/bitnami/RabbitMQ" rel="nofollow noreferrer">https://github.com/bitnami/charts/tree/master/bitnami/RabbitMQ</a>.  I have done this:</p>
  
  <pre><code>helm install my-release --set rabbitmq.username=admin,rabbitmq.password=secretpassword,rabbitmq.erlangCookie=secretcookie bitnami/rabbitmq
  </code></pre>
  
  <p>then:</p>
  
  <pre><code>kubectl port-forward --namespace default svc/my-release-rabbitmq 15672:15672
  </code></pre>
  
  <p>I can then browse to <a href="http://localhost:15672/" rel="nofollow noreferrer">http://localhost:15672/</a> </p>
  
  <p>Powershell says this:</p>
  
  <p><a href="https://i.stack.imgur.com/x5UJx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x5UJx.png" alt="enter image description here"></a></p>
  
  <p>I am interested in this (from Poweshell):</p>
  
  <pre><code>echo "Password      : $(kubectl get secret --namespace default my-release-rabbitmq -o jsonpath="{.data.rabbitmq-password}" | base64 --decode)"
  </code></pre>
  
  <p>How do I get the password?</p>