0

When I run the command from ArtifactHUB to install the mysql-innodbcluster

helm install my-mysql-innodbcluster mysql-operator/mysql-innodbcluster --version 2.0.4

I get the following error,

Error: INSTALLATION FAILED: execution error at (mysql-innodbcluster/templates/deployment_cluster.yaml:18:8): tls.routerCertAndPKsecretName: secret 'my-mysql-innodbcluster-router-tls' not found in namespace 'default'

How can I resolve it?

1 Answer 1

0

The instructions for deploying/creating a MySQL InnoDB Cluster with Helm can be found here,

You have two options with MySQL, either deploy with

  • A self-signed certificate. This will require setting tls.useSelfSigned
  • An externally signed certificate. his will require providing a tls.caSecretName, tls.serverCertAndPKsecretName and tls.serverCertAndPKsecretName

You can set these options like this with --set like this

helm install <clustername> mysql-operator/mysql-innodbcluster \
  --set tls.useSelfSigned=true

No matter what you'll also always have to provide credentials.root.password for this specific chart --set credentials.root.password=foobar


See also,

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.