Closed OlivierCazade closed 8 months ago
/hold This is breaking change in the configuration API, we need to synchronize
Attention: Patch coverage is 65.21739%
with 24 lines
in your changes are missing coverage. Please review.
Project coverage is 67.22%. Comparing base (
ab65bc4
) to head (d688fe3
). Report is 3 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
pkg/pipeline/transform/transform_network.go | 45.71% | 15 Missing and 4 partials :warning: |
pkg/pipeline/transform/kubernetes/enrich.go | 77.27% | 2 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
/lgtm
@OlivierCazade can you edit the description to briefly explain what are the breaking changes, and give an example of how to convert an old config to a new one? This would help users who are hit by the breaking change to quickly figure out how to handle it
I'm adding no-qe / no-doc as there's no user facing changes - I tested myself along with https://github.com/netobserv/network-observability-operator/pull/562
/ok-to-test
New image: quay.io/netobserv/flowlogs-pipeline:380f2f0
It will expire after two weeks.
To deploy this build, run from the operator repo, assuming the operator is running:
USER=netobserv VERSION=380f2f0 make set-flp-image
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: OlivierCazade
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Description
Created different type for the different transform rules
Previously the
NetworkTransformRule
had all fields at the same level, but they were not all used by all transform network types and theParameter
field was used differently depending on the type.The struct go from this:
To this :
Now every rule type has its own structure.
Dependencies
n/a
Checklist
If you are not familiar with our processes or don't know what to answer in the list below, let us know in a comment: the maintainers will take care of that.