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

cache ToolchainCluster CR only in the given namespace #419

Merged

Conversation

MatousJobanek
Copy link
Contributor

@MatousJobanek MatousJobanek commented Jul 26, 2024

Copy link

Copy link

codecov bot commented Jul 26, 2024

Codecov Report

Attention: Patch coverage is 80.00000% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.52%. Comparing base (2f6e6a3) to head (474ff3c).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #419      +/-   ##
==========================================
+ Coverage   78.47%   78.52%   +0.04%     
==========================================
  Files          48       49       +1     
  Lines        2012     2021       +9     
==========================================
+ Hits         1579     1587       +8     
- Misses        375      376       +1     
  Partials       58       58              
Files Coverage Δ
...llers/toolchainclustercache/namespace_predicate.go 100.00% <100.00%> (ø)
...nclustercache/toolchaincluster_cache_controller.go 43.47% <0.00%> (-1.98%) ⬇️

Copy link
Contributor

@rajivnathan rajivnathan left a comment

Choose a reason for hiding this comment

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

Thanks for addressing this so quickly! 🚀

@rajivnathan rajivnathan merged commit 74c7003 into codeready-toolchain:master Jul 26, 2024
8 checks passed
"sigs.k8s.io/controller-runtime/pkg/event"
)

// CreateAndUpdateOnlyPredicate will filter out all events out of the provided namespace
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be

// namespacePredicate will filter out all events out of the provided namespace

Copy link
Collaborator

Choose a reason for hiding this comment

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

See #421

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.

4 participants