vesoft-inc / nebula-operator

Operation utilities for Nebula Graph
https://vesoft-inc.github.io/nebula-operator
Apache License 2.0
79 stars 28 forks source link

fix issues in certificate generator #513

Closed kevinliu24 closed 2 months ago

kevinliu24 commented 2 months ago

What type of PR is this?

What problem(s) does this PR solve?

Issue(s) number:

https://github.com/vesoft-inc/nebula-operator/issues/500

Description:

How do you solve it?

Fix the following issues:

  1. change certificate validity format to 0h0m0s
  2. only start generator if useCertManager is false
  3. recreate secret during rotation if secret gets deleted

Special notes for your reviewer, ex. impact of this fix, design document, etc: