<p>I have a docker container running a node express server.
The password of the connection with a mysql server is stored in environment variables.</p>

<p>I'm experiencing an issue when upgrading with my helm chart, every time I upgrade the password environment value changes. So obviously the connection with mysql stops working. My helm configuration is the one from azure: <a href="https://github.com/Azure/phippyandfriends/" rel="nofollow noreferrer">https://github.com/Azure/phippyandfriends/</a></p>

<p>There they don't use secrets, so I just created a secret (this was done way back so I kinda forgot how and what the values were) and in the deployment of my server under <code>env:</code></p>

<pre><code>- name: MYSQL_PASSWORD
  valueFrom:
    secretKeyRef:
      name: server-mysql
      key: mysql-password
</code></pre>

<p>I have this kubernetes plugin for my vscode and here I can see the secret and basically it creates a new one, and changes the data? 
Am I doing something wrong? Or is something not going as expected?</p>

<p>This is still a dev app so I can delete everything if needed :)</p>

<p>I'm still a bit new with kubernetes so it is possible that I did or forgot something stupid :/</p>

Kiwi
<p>you can pass <code>mysql.existingSecret</code> as a value with the name of your secret and it will use that one.</p>
