You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To support various certificate issuers and methods, for example: user-defined certificates, K8s builtin CA system or cert-manager, we will refactor the TiDB Cluster/Client TLS feature with new API and new usage.
First, we will change the Cluster/Client TLS API to:
If the user set tlsCluster.enabled to true, then tidb-operator will assume that there are several Secrets named with: <cluster-name>-pd-cluster-secret, <cluster-name>-tikv-cluster-secret, <cluster-name>-tidb-cluster-secret, <cluser-name>-cluster-client-secret and other TiDB components's Secrets are created.
Each Secret data should have three keys: tls.crt, tls.key and ca.crt:
These Secrets can be created by the use manually, by K8s builtin CA system or by cert-manager. PD/TiKV/TiDB/... will use these Secrets to start server.
tidb-operator will not supply these certificates automatically.
To support various certificate issuers and methods, for example: user-defined certificates, K8s builtin CA system or cert-manager, we will refactor the TiDB Cluster/Client TLS feature with new API and new usage.
First, we will change the Cluster/Client TLS API to:
That is all the whole API we needed.
If the user set
tlsCluster.enabled
totrue
, then tidb-operator will assume that there are several Secrets named with:<cluster-name>-pd-cluster-secret
,<cluster-name>-tikv-cluster-secret
,<cluster-name>-tidb-cluster-secret
,<cluser-name>-cluster-client-secret
and other TiDB components's Secrets are created.Each Secret data should have three keys:
tls.crt
,tls.key
andca.crt
:These Secrets can be created by the use manually, by K8s builtin CA system or by cert-manager. PD/TiKV/TiDB/... will use these Secrets to start server.
tidb-operator will not supply these certificates automatically.
There are several tasks:
require-secure-transport
option to TiDB Server *: support require-secure-transport startup option tidb#15341require-secure-transport
optionhttp
nothttps
scheme, Log https as the scheme while TLS is enabled tidb-binlog#936cert-allowed-cn
is more than one #1998cert-allowed-cn
is supplied #2002-advertise-address
parameter #1859cert-allowed-cn
cert-allowed-cn support #2061cert-allowed-cn
: failed to setcert-allowed-cn
option for pump #2046cert-allowed-cn
was set #2048Low priority or do not do issues:
tidb-ctl
to connect a TiDB Cluster with TLS enabled tidb#15173The text was updated successfully, but these errors were encountered: