<p>How to fix this base64 decoding? It spews out this gibberish from Jenkins' pod :)</p>
<pre><code>printf $(kubectl get secret --namespace default jenkins-16057xxxxx -o jsonpath=&quot;{.data.jenkins-admin-password}&quot; | base64 --decode);echo
�K��ly�޷�jg���u�ں&quot;�ϵ�N{߯5��#��
</code></pre>

organicnz
<p>Got help from <a href="https://github.com/bitnami/charts/issues/4444" rel="nofollow noreferrer">Bitnami folks</a>, turns out base64 decoding is buggy on macOS 11.0.1 - have to fix it then. For the testing purposes, I used that suggested website for decoding a password string successfully.</p>
<p>&quot;Hi @organicnz, I'm not really sure what is happening there. When the chart is deployed, some notes are shown with information about the commands that you need to execute to obtain the credentials. You can obtain those notes again by executing:</p>
<p>helm get notes YOUR_INSTALLATION_NAME</p>
<p>You will find a command like the following one:</p>
<p>echo Password: $(kubectl get secret --namespace default YOUR_INSTALLATION_NAME -o jsonpath=&quot;{.data.jenkins-password}&quot; | base64 --decode)</p>
<p>If you want to do what the command above is doing in a more manual way, you can also get the secret and output as yaml and you will get a plain-text string that is base64-encoded. You need to decode it to get the actual password.</p>
<p>If the implementation of your base64 utility is buggy, just for testing purposes, you can use an online tool like this one: <a href="https://emn178.github.io/online-tools/base64_decode.html" rel="nofollow noreferrer">https://emn178.github.io/online-tools/base64_decode.html</a></p>
<p>Again, this is just for testing purposes, you should never share your password on the internet.&quot;</p>
