openservicemesh / osm

Open Service Mesh (OSM) is a lightweight, extensible, cloud native service mesh that allows users to uniformly manage, secure, and get out-of-the-box observability features for highly dynamic microservice environments.
https://openservicemesh.io/
Apache License 2.0
2.59k stars 277 forks source link

fix(certs): check for active MRCs on bootstrap startup #5245

Closed jaellio closed 1 year ago

jaellio commented 1 year ago

Description:

Checks if an active MRC exists before attempting to create the default MRC. Previously, if an active MRC existed that did not have the default MRC name, osm-mesh-root-certificate, the osm-bootstrap would error.

Resolves #5237

Testing done:

Affected area: Functional Area
New Functionality [x]
Certificate Management [x]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? No

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? No

  3. Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)? No