Skip to content

Commit 8b76fb8

Browse files
committed
fix: correct tls secret data name
1 parent 956e280 commit 8b76fb8

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

api/v1alpha1/mysqlcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ type MysqlClusterSpec struct {
8585
// Represents NFS ip address where cluster restore from.
8686
// +optional
8787
NFSServerAddress string `json:"nfsServerAddress,omitempty"`
88-
//containing CA (ca.pem) and optional CRL (crl.pem) ,server certificate and private key for SSL
88+
//containing CA (ca.crt) and server cert (tls.crt) ,server private key (tls.key) for SSL
8989
//+optional
9090
TlsSecretName string `json:"tlsSecretName,omitempty"`
9191
}

charts/mysql-operator/crds/mysql.radondb.com_mysqlclusters.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,6 +1256,10 @@ spec:
12561256
description: Represents the name of the cluster restore from backup
12571257
path.
12581258
type: string
1259+
tlsSecretName:
1260+
description: containing CA (ca.crt) and server cert (tls.crt) ,server
1261+
private key (tls.key) for SSL
1262+
type: string
12591263
xenonOpts:
12601264
default:
12611265
admitDefeatHearbeatCount: 5

config/crd/bases/mysql.radondb.com_mysqlclusters.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,8 @@ spec:
12571257
path.
12581258
type: string
12591259
tlsSecretName:
1260-
description: containing CA (ca.pem) and optional CRL (crl.pem) ,server
1261-
certificate and private key for SSL
1260+
description: containing CA (ca.crt) and server cert (tls.crt) ,server
1261+
private key (tls.key) for SSL
12621262
type: string
12631263
xenonOpts:
12641264
default:

sidecar/util.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ var (
7272

7373
// clone restore init data directory.
7474
backupInitDirectory = "initbackup"
75-
// tlsConfPath is the tls path for tls
76-
tlsConfPath = utils.TlsMountPath
7775
)
7876

7977
// copyFile the src file to dst.

0 commit comments

Comments
 (0)