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: use informer pattern to fetch k8s resources #673

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

flavio
Copy link
Member

@flavio flavio commented Feb 20, 2024

Change the way Kubernetes resources are fetched by context aware policies.

Use what Kubernetes calls: "the informer pattern".

Fixes kubewarden/kubewarden-controller#575

Change the way Kubernetes resources are fetched by context aware
policies.

Use what Kubernetes calls: "the informer pattern".

Fixes kubewarden/kubewarden-controller#575

Signed-off-by: Flavio Castelli <fcastelli@suse.com>
@flavio flavio requested a review from a team as a code owner February 20, 2024 12:16
Copy link

codecov bot commented Feb 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (cbadb46) 41.58% compared to head (9025f60) 41.58%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #673   +/-   ##
=======================================
  Coverage   41.58%   41.58%           
=======================================
  Files          16       16           
  Lines         796      796           
=======================================
  Hits          331      331           
  Misses        465      465           
Flag Coverage Δ
integration-tests 37.43% <ø> (ø)
unit-tests 29.56% <ø> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@viccuad viccuad merged commit 5318aab into kubewarden:main Feb 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Feature Request: use informer pattern to keep context aware policies updated
3 participants