Skip to content

NETOBSERV-2500: hot-reload filters#2337

Merged
jotak merged 4 commits intonetobserv:mainfrom
jotak:hot-reload-filters
Jan 28, 2026
Merged

NETOBSERV-2500: hot-reload filters#2337
jotak merged 4 commits intonetobserv:mainfrom
jotak:hot-reload-filters

Conversation

@jotak
Copy link
Member

@jotak jotak commented Jan 16, 2026

Description

Write FLP filters config into dynamic configmap

Dependencies

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.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
    • If so, make sure the JIRA epic is labeled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
    • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
    • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
    • Standard QE validation, with pre-merge tests unless stated otherwise.
    • Regression tests only (e.g. refactoring with no user-facing change).
    • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jan 16, 2026

@jotak: This pull request references NETOBSERV-2500 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Description

Write FLP filters config into dynamic configmap

Dependencies

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.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
  • If so, make sure the JIRA epic is labeled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
  • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
  • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
  • Standard QE validation, with pre-merge tests unless stated otherwise.
  • Regression tests only (e.g. refactoring with no user-facing change).
  • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jotak
Copy link
Member Author

jotak commented Jan 20, 2026

/hold
I'll need to bump after netobserv/flowlogs-pipeline#1170 is merged

Copy link
Member

@OlivierCazade OlivierCazade left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-ci openshift-ci bot added the lgtm label Jan 20, 2026
@jotak jotak removed the needs-review Tells that the PR needs a review label Jan 20, 2026
@Amoghrd
Copy link
Member

Amoghrd commented Jan 20, 2026

/ok-to-test

@openshift-ci openshift-ci bot added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 20, 2026
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:45feb06
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-45feb06
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-45feb06

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:45feb06 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-45feb06

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-45feb06
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

@jotak jotak force-pushed the hot-reload-filters branch from 15c2630 to 5b90ee6 Compare January 26, 2026 11:48
@openshift-ci openshift-ci bot removed the lgtm label Jan 26, 2026
@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 26, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 26, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from oliviercazade. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jotak
Copy link
Member Author

jotak commented Jan 26, 2026

@Amoghrd , back to you :-)

@jotak jotak requested a review from OlivierCazade January 26, 2026 12:09
@jotak jotak added the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 26, 2026
@github-actions
Copy link

New images:

  • quay.io/netobserv/network-observability-operator:5deb3b6
  • quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-5deb3b6
  • quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-5deb3b6

They will expire after two weeks.

To deploy this build:

# Direct deployment, from operator repo
IMAGE=quay.io/netobserv/network-observability-operator:5deb3b6 make deploy

# Or using operator-sdk
operator-sdk run bundle quay.io/netobserv/network-observability-operator-bundle:v0.0.0-sha-5deb3b6

Or as a Catalog Source:

apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: netobserv-dev
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/netobserv/network-observability-operator-catalog:v0.0.0-sha-5deb3b6
  displayName: NetObserv development catalog
  publisher: Me
  updateStrategy:
    registryPoll:
      interval: 1m

Copy link
Member

@OlivierCazade OlivierCazade left a comment

Choose a reason for hiding this comment

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

LGTM

@openshift-ci openshift-ci bot added the lgtm label Jan 26, 2026
@Amoghrd
Copy link
Member

Amoghrd commented Jan 26, 2026

/ok-to-test

@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

❌ Patch coverage is 81.71429% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.23%. Comparing base (b692273) to head (5b90ee6).
⚠️ Report is 13 commits behind head on main.

Files with missing lines Patch % Lines
internal/controller/flp/flp_pipeline_builder.go 80.64% 18 Missing and 12 partials ⚠️
internal/controller/flp/flp_common_objects.go 80.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2337      +/-   ##
==========================================
+ Coverage   72.17%   72.23%   +0.06%     
==========================================
  Files          93       93              
  Lines       10362    10399      +37     
==========================================
+ Hits         7479     7512      +33     
- Misses       2412     2417       +5     
+ Partials      471      470       -1     
Flag Coverage Δ
unittests 72.23% <81.71%> (+0.06%) ⬆️

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

Files with missing lines Coverage Δ
internal/controller/flp/flp_monolith_objects.go 93.67% <100.00%> (+1.03%) ⬆️
internal/controller/flp/flp_transfo_objects.go 91.80% <100.00%> (+1.25%) ⬆️
internal/controller/flp/flp_common_objects.go 92.25% <80.00%> (-0.03%) ⬇️
internal/controller/flp/flp_pipeline_builder.go 72.31% <80.64%> (-0.78%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Amoghrd
Copy link
Member

Amoghrd commented Jan 26, 2026

/label qe-approved

@openshift-ci openshift-ci bot added the qe-approved QE has approved this pull request label Jan 26, 2026
@openshift-ci-robot
Copy link
Collaborator

openshift-ci-robot commented Jan 26, 2026

@jotak: This pull request references NETOBSERV-2500 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

Description

Write FLP filters config into dynamic configmap

Dependencies

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.

  • Is this PR backed with a JIRA ticket? If so, make sure it is written as a title prefix (in general, PRs affecting the NetObserv/Network Observability product should be backed with a JIRA ticket - especially if they bring user facing changes).
  • Does this PR require product documentation?
  • If so, make sure the JIRA epic is labeled with "documentation" and provides a description relevant for doc writers, such as use cases or scenarios. Any required step to activate or configure the feature should be documented there, such as new CRD knobs.
  • Does this PR require a product release notes entry?
  • If so, fill in "Release Note Text" in the JIRA.
  • Is there anything else the QE team should know before testing? E.g: configuration changes, environment setup, etc.
  • If so, make sure it is described in the JIRA ticket.
  • QE requirements (check 1 from the list):
  • Standard QE validation, with pre-merge tests unless stated otherwise.
  • Regression tests only (e.g. refactoring with no user-facing change).
  • No QE (e.g. trivial change with high reviewer's confidence, or per agreement with the QE team).

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@jotak jotak force-pushed the hot-reload-filters branch from 5b90ee6 to d74cd67 Compare January 28, 2026 09:28
@openshift-ci openshift-ci bot removed the lgtm label Jan 28, 2026
@openshift-ci
Copy link

openshift-ci bot commented Jan 28, 2026

New changes are detected. LGTM label has been removed.

@github-actions github-actions bot removed the ok-to-test To set manually when a PR is safe to test. Triggers image build on PR. label Jan 28, 2026
@jotak jotak force-pushed the hot-reload-filters branch from d74cd67 to 8bce321 Compare January 28, 2026 09:32
jotak added 4 commits January 28, 2026 10:39
Use explicit dynamic vs static config flag

Refactor flp_pipeline_builder.go to break down stages config into
smaller functions
@jotak jotak force-pushed the hot-reload-filters branch from 8bce321 to 90beddd Compare January 28, 2026 09:39
@jotak jotak merged commit 84f4f31 into netobserv:main Jan 28, 2026
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jira/valid-reference qe-approved QE has approved this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants