Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kuma-cp): validate DP compat on kuma backend #4236

Merged
merged 3 commits into from
May 6, 2022

Conversation

parkanzky
Copy link
Contributor

Signed-off-by: Paul Parkanzky [email protected]

Summary

Kuma-cp side validation of Kuma DP and Zone CP versions. Result stored as boolean within DataplaneInsight and ZoneInsight. Will require a GUI change to consume the bool.

Need to decide if this should be backported to stable.

Full changelog

  • Add DP and Zone validation to insights

Issues resolved

Fix #4203

Documentation

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

Backwards compatibility

  • Update UPGRADE.md with any steps users will need to take when upgrading.
  • Add backport-to-stable label if the code follows our backporting policy

@parkanzky parkanzky requested a review from a team as a code owner May 2, 2022 15:32
@codecov-commenter
Copy link

codecov-commenter commented May 2, 2022

Codecov Report

Merging #4236 (4578f97) into master (62c5227) will decrease coverage by 0.02%.
The diff coverage is 45.16%.

@@            Coverage Diff             @@
##           master    #4236      +/-   ##
==========================================
- Coverage   55.65%   55.63%   -0.03%     
==========================================
  Files         933      934       +1     
  Lines       56257    56288      +31     
==========================================
+ Hits        31312    31315       +3     
- Misses      22457    22481      +24     
- Partials     2488     2492       +4     
Impacted Files Coverage Δ
api/mesh/v1alpha1/dataplane_insight.pb.go 43.93% <0.00%> (-0.45%) ⬇️
api/system/v1alpha1/zone_insight.pb.go 37.41% <0.00%> (-0.54%) ⬇️
pkg/kds/server/status_tracker.go 0.00% <0.00%> (ø)
pkg/version/compatibility.go 61.90% <61.90%> (ø)
pkg/core/xds/metadata.go 62.79% <100.00%> (+0.43%) ⬆️
pkg/core/tokens/default_signing_key.go 66.66% <0.00%> (-13.89%) ⬇️
pkg/core/runtime/component/component.go 82.45% <0.00%> (-7.02%) ⬇️
pkg/core/resources/manager/cache.go 83.11% <0.00%> (-5.20%) ⬇️
pkg/core/secrets/manager/global_manager.go 39.39% <0.00%> (-3.04%) ⬇️
pkg/mads/v1/client/client.go 41.25% <0.00%> (-2.50%) ⬇️
... and 8 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 62c5227...4578f97. Read the comment docs.

@lahabana
Copy link
Contributor

lahabana commented May 3, 2022

/format

Copy link
Contributor

@michaelbeaumont michaelbeaumont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, feel free to ignore suggestion

@parkanzky parkanzky force-pushed the feat/dp-compat-insight branch from 1f5d4cd to f7178d9 Compare May 6, 2022 17:54
Paul Parkanzky and others added 2 commits May 6, 2022 14:12
fix(kuma-cp): simplify min version check

Co-authored-by: Mike Beaumont <[email protected]>
Signed-off-by: Paul Parkanzky <[email protected]>
@parkanzky parkanzky force-pushed the feat/dp-compat-insight branch from f7178d9 to f4cc0cc Compare May 6, 2022 18:12
@parkanzky parkanzky merged commit d90eb9a into master May 6, 2022
@parkanzky parkanzky deleted the feat/dp-compat-insight branch May 6, 2022 20:45
lukidzi pushed a commit that referenced this pull request May 11, 2022
* feat(kuma-cp): validate DP compat on kuma backend

Signed-off-by: Paul Parkanzky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move all compatibility checks to insights
4 participants