<p>I deployed mysql using this command:</p>
<pre><code>helm install --namespace ns-mysql project-mysql --version 8.8.8
</code></pre>
<p>In the future, when I'll need to change the three passwords: mysql-password, mysql-replication-password and mysql-root-password, is there a standard way to do that with helm?</p>
<p>NOTES:</p>
<ul>
<li>The passwords have been saved into the secrets of EKS</li>
</ul>

<p>You need to use the ordinary MySQL commands to change the passwords.  Running <code>helm update</code> with the changed passwords isn't a bad idea (especially if you have other components that are getting the password from the same Secret) but it can't on its own actually change the password.</p>
<p>The problem here is that the password is stored inside the MySQL data.  Kubernetes knows that data is in a PersistentVolumeClaim, but it doesn't have a way to read or modify the data, and you can't directly change the password at the filesystem level.  Even if that was possible, Kubernetes API calls also can't directly access the PVC contents.  That means Kubernetes has no way to change the password, and Helm can't do anything Kubernetes can't do.</p>
