Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

(feat: certs) MeshRootStatus -> ProviderState #4812

Merged
merged 2 commits into from
Jun 17, 2022

Conversation

schristoff
Copy link
Contributor

@schristoff schristoff commented Jun 13, 2022

Signed-off-by: Sarah Christoff [email protected]

Description:

  • update MeshRootStatus to ProviderState
  • remove rotation stage
  • add consts for all defined states

Testing done:

  • CI

Affected area:

Functional Area
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] (https://github.com/openservicemesh/osm-docs) repo (if applicable)? No

@schristoff schristoff changed the title (feat: certs) MeshRootStatus -> ProviderStatus (feat: certs) MeshRootStatus -> ProviderState Jun 13, 2022
@schristoff schristoff requested a review from jaellio June 14, 2022 23:08
@codecov-commenter
Copy link

codecov-commenter commented Jun 14, 2022

Codecov Report

Merging #4812 (fe340b0) into main (7046cf2) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #4812      +/-   ##
==========================================
- Coverage   68.58%   68.51%   -0.07%     
==========================================
  Files         223      224       +1     
  Lines       16259    16168      -91     
==========================================
- Hits        11151    11078      -73     
+ Misses       5057     5038      -19     
- Partials       51       52       +1     
Flag Coverage Δ
unittests 68.51% <100.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/osm-bootstrap/osm-bootstrap.go 46.64% <100.00%> (-1.03%) ⬇️
pkg/certificate/providers/config.go 75.34% <100.00%> (ø)
pkg/envoy/lds/inmesh.go 76.26% <0.00%> (-3.18%) ⬇️
pkg/envoy/registry/services.go 87.23% <0.00%> (-2.43%) ⬇️
pkg/envoy/registry/announcement_handlers.go 84.61% <0.00%> (-0.57%) ⬇️
pkg/certificate/manager.go 87.78% <0.00%> (-0.51%) ⬇️
pkg/envoy/ads/stream.go 11.76% <0.00%> (-0.31%) ⬇️
pkg/ingress/gateway.go 78.74% <0.00%> (-0.17%) ⬇️
pkg/smi/types.go 100.00% <0.00%> (ø)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7046cf2...fe340b0. Read the comment docs.

@schristoff schristoff marked this pull request as ready for review June 15, 2022 15:17
@schristoff schristoff requested review from jaellio and steeling June 15, 2022 15:17
Add additional MRC state constants to have all rollout and
rollback stages. Remove RotationStage and keep only the single
state.

Signed-off-by: Sarah Christoff <[email protected]>
@schristoff schristoff force-pushed the schristoff_updateMRCStatus branch from aaea07e to e47a291 Compare June 16, 2022 16:40
Signed-off-by: Sarah Christoff <[email protected]>
@jaellio jaellio merged commit 46b7165 into openservicemesh:main Jun 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants