apiVersion: v1
kind: ConfigMap
metadata:
  name: mysql-config
  labels:
    app: mysql
data:
  my.cnf: |-
    [mysqld]
    character-set-server = utf8mb4
    collation-server = utf8mb4_general_ci
    default-authentication-plugin = mysql_native_password

    [client]
    default-character-set = utf8mb4
