Skip to content

Commit

Permalink
binglog: fix tls error when create pump with TLS when use CRD (#1799)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuijing198799 authored Feb 27, 2020
1 parent 6b96b05 commit 88d3dd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/manager/member/pump_member_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ func getNewPumpConfigMap(tc *v1alpha1.TidbCluster) (*corev1.ConfigMap, error) {
confTextStr = strings.Join([]string{
confTextStr,
"[security]",
serviceAccountCAPath,
path.Join(pumpCertPath, "cert"),
path.Join(pumpCertPath, "key")}, "\n")
fmt.Sprintf("ssl-ca = \"%s\"", serviceAccountCAPath),
fmt.Sprintf("ssl-cert = \"%s\"", path.Join(pumpCertPath, "cert")),
fmt.Sprintf("ssl-key = \"%s\"", path.Join(pumpCertPath, "key"))}, "\n")
}
data := map[string]string{
"pump-config": confTextStr,
Expand Down

0 comments on commit 88d3dd8

Please sign in to comment.