<p>I noticed that many official charts hosted on Google or Bitnami repositories are including Username/Password/Credentials in the Values file, <strong>without giving you the ability to use an existing secret</strong>.</p>

<p>Can you helm me understand what would be the reason behind such approach? </p>

<p>As far as I know, including clear credentials in helm charts is not a best-practice.</p>

Sobiaholic
<p>Because it's quicker and it will work out of the box.</p>
<p>If you try to use the already existing <code>secret</code>, it has to be in the same namespace as the <code>deployment</code>. If it's not then it has to be copied and validate if it was moved correctly.</p>
<p>You should not rely on unchanged charts in production environment, as @<a href="https://stackoverflow.com/users/10615691/switchboard-op">switchboard.op</a> mentioned.</p>
<p>I think most apps that are being rewritten for <a href="https://github.com/GoogleCloudPlatform/click-to-deploy" rel="nofollow noreferrer">GoogleCloudPlatform/click-to-deploy</a> are using secrets.</p>
