Kong / kubernetes-testing-framework

Golang Integration Testing Framework For Kubernetes APIs and Controllers.
https://konghq.com
Apache License 2.0
40 stars 10 forks source link

feat: install default allow-all traffic permission when kuma >= 2.6.0 #957

Closed czeslavo closed 10 months ago

czeslavo commented 10 months ago

In 2.6.0 Kuma stopped creating default traffic permissions. This PR aims to preserve the previous behavior so that all traffic is allowed as before.

Kuma upgrade notes: https://github.com/kumahq/kuma/blob/2.6.0/UPGRADE.md#default-trafficroute-and-trafficpermission-resources-are-not-created-when-creating-a-new-mesh

codecov-commenter commented 10 months ago

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (815d26d) 53.15% compared to head (41c393d) 60.07%. Report is 1 commits behind head on main.

Files Patch % Lines
pkg/clusters/addons/kuma/addon.go 42.85% 3 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #957 +/- ## ========================================== + Coverage 53.15% 60.07% +6.91% ========================================== Files 50 50 Lines 4039 4045 +6 ========================================== + Hits 2147 2430 +283 + Misses 1615 1307 -308 - Partials 277 308 +31 ``` | [Flag](https://app.codecov.io/gh/Kong/kubernetes-testing-framework/pull/957/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kong) | Coverage Δ | | |---|---|---| | [integration-test](https://app.codecov.io/gh/Kong/kubernetes-testing-framework/pull/957/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kong) | `60.07% <42.85%> (+6.91%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Kong#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.