oracle/mysql-operator

MySQL Agent fails to connect when root password contains '#'

Aperta

#200 aperta il 13 ago 2018

 (3 commenti) (0 reazioni) (0 assegnatari)Go (230 fork)auto 404
buggood first issuehelp wanted

Metriche repository

Star
 (858 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Is this a BUG REPORT or FEATURE REQUEST?

BUG REPORT

Versions

MySQL Operator Version: 0.2.0

Environment: Linux

  • Kubernetes version (use kubectl version): 1.11.2
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): CentOS 7

What happened?

MySQL agent will not connect when root password is set. If root password is left blank, it starts up correctly.

kubectl create secret generic -n mysql mysql-cluster-root-password --from-literal=password=XXXXXX

apiVersion: mysql.oracle.com/v1alpha1 kind: Cluster metadata: name: mysql-cluster namespace: mysql spec: multiMaster: true members: 3 rootPasswordSecret: name: mysql-cluster-root-password

What you expected to happen?

Pods to start up when rootPasswordSecret is set.

Guida contributor