Percona K8S Operator MySQL enforce encrypted user connection

Hello,
Does Percona K8S Operator XtraDB (MySQL) support encrypted user connections?
From 5.7 in MySQL, we can enforce encrypted connection - MySQL :: MySQL 5.7 Reference Manual :: 6.3.1 Configuring MySQL to Use Encrypted Connections

I tried to add
[mysqld]
require_secure_transport=ON

configuration parameter, but I get errors in Percona Operator.

Searcing for the answer is possible to enforce encrypted connection only or not when we are using Percona K8S Operator for MySQL?

Attaching the Percona_operator_logs.log (63.5 KB)

1 Like

Hello @GedasTSB ,

  1. I don’t see anything in the logs which points out that the config is wrong. The errors in the log point out that you have manually changed the statefull set. Is it right?
  2. I have added the following config under spec.pxc in cr.yaml:
    configuration: |
    [mysqld]
    require_secure_transport=ON
    

The cluster is up and running.
Could you let me know how you add the corresponding configuration?

1 Like