I try to setup a mysql database in Kubernetes. I configured a ConfigMap to store the Database name and a Secret that contains the root password, the user and the password fo
Are you sure the data in your secret yaml is base64-encoded correctly? Using https://www.base64encode.org/, your data block is supposed to look like:
data
data: mysql-root-password: VGVzdDEyMzQ= # Test1234 mysql-user: dGVzdGFkbQ== # testadm mysql-password: VGVzdDEyMzQ= # Test1234