apecloud / kubeblocks

KubeBlocks is an open-source control plane software that runs and manages databases, message queues and other stateful applications on K8s.
https://kubeblocks.io
GNU Affero General Public License v3.0
2.02k stars 165 forks source link

[Improvement] Check TLS cert secret object's existence before creation #7719

Open free6om opened 2 months ago

free6om commented 2 months ago

In current implementation, if TLS is enabled, the Secret object that holds the TLS certs and key is generated in each reconciliation loop, which is very time-consuming. avoid doing this by checking the existence of the TLS Secret object before generating.

DWJ-Squirtle commented 2 months ago

I want to try it