Skip to content

Update access flag only if informer succeeded#2894

Merged
levan-m merged 1 commit into
levan-m/cm-watch-without-rbacfrom
codex/pr-2889-disable-on-informer-failure
Apr 13, 2026
Merged

Update access flag only if informer succeeded#2894
levan-m merged 1 commit into
levan-m/cm-watch-without-rbacfrom
codex/pr-2889-disable-on-informer-failure

Conversation

@tbavelier

Copy link
Copy Markdown
Member

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Minimum Agent Versions

Are there minimum versions of the Datadog Agent and/or Cluster Agent required?

  • Agent: vX.Y.Z
  • Cluster Agent: vX.Y.Z

Describe your test plan

Write there any instructions and details you may have to test your PR.

Checklist

  • PR has at least one valid label: bug, enhancement, refactoring, documentation, tooling, and/or dependencies
  • PR has a milestone or the qa/skip-qa label
  • All commits are signed (see: signing commits)

@tbavelier tbavelier added this to the v1.26.0 milestone Apr 13, 2026
@tbavelier
tbavelier requested a review from a team as a code owner April 13, 2026 12:01
@tbavelier tbavelier added bug Something isn't working qa/skip-qa labels Apr 13, 2026
@codecov-commenter

codecov-commenter commented Apr 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.04%. Comparing base (2f77d14) to head (e32646d).

Files with missing lines Patch % Lines
pkg/controller/utils/metadata/helm_metadata.go 0.00% 8 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@                        Coverage Diff                        @@
##           levan-m/cm-watch-without-rbac    #2894      +/-   ##
=================================================================
- Coverage                          40.05%   40.04%   -0.01%     
=================================================================
  Files                                319      319              
  Lines                              28046    28050       +4     
=================================================================
  Hits                               11233    11233              
- Misses                             15990    15994       +4     
  Partials                             823      823              
Flag Coverage Δ
unittests 40.04% <0.00%> (-0.01%) ⬇️

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

Files with missing lines Coverage Δ
pkg/controller/utils/metadata/helm_metadata.go 25.89% <0.00%> (-0.32%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2f77d14...e32646d. Read the comment docs.

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

@levan-m
levan-m merged commit cd9bb27 into levan-m/cm-watch-without-rbac Apr 13, 2026
47 checks passed
@levan-m
levan-m deleted the codex/pr-2889-disable-on-informer-failure branch April 13, 2026 14:20
tbavelier added a commit that referenced this pull request Apr 14, 2026
* Avoid RBAC errors when Operator can't list or watch ConfigMaps

* Update access flag only if informer succeeded (#2894)

---------

Co-authored-by: Timothée Bavelier <[email protected]>
dd-octo-sts Bot pushed a commit that referenced this pull request Apr 14, 2026
* Avoid RBAC errors when Operator can't list or watch ConfigMaps

* Update access flag only if informer succeeded (#2894)

---------

Co-authored-by: Timothée Bavelier <[email protected]>
(cherry picked from commit d09fcb3)
tbavelier added a commit that referenced this pull request Apr 14, 2026
#2900)

* Avoid RBAC errors when Operator can't list or watch ConfigMaps

* Update access flag only if informer succeeded (#2894)

---------


(cherry picked from commit d09fcb3)

Co-authored-by: levan-m <[email protected]>
Co-authored-by: Timothée Bavelier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants