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

[CECO-1441] Use fully-qualified domain name finalizer #1397

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

tbavelier
Copy link
Member

What does this PR do?

Identifiers of custom finalizers consist of a domain name, a forward slash and the name of the finalizer. Any controller can add a finalizer to any object's list of finalizers.

Motivation

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

  • Covered by tests, but apply dashboard CR, ensure there are no logs from KubeAPIWarningLogger in the operator, then delete the CR with kubectl delete and ensure the CR is properly deleted

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

@tbavelier tbavelier added this to the v1.10.0 milestone Sep 10, 2024
@tbavelier tbavelier requested a review from a team as a code owner September 10, 2024 09:59
@codecov-commenter
Copy link

codecov-commenter commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.40%. Comparing base (4c40ffd) to head (9f5e30c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1397   +/-   ##
=======================================
  Coverage   47.40%   47.40%           
=======================================
  Files         223      223           
  Lines       19244    19244           
=======================================
  Hits         9123     9123           
  Misses       9635     9635           
  Partials      486      486           
Flag Coverage Δ
unittests 47.40% <ø> (ø)

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

Files with missing lines Coverage Δ
internal/controller/datadogdashboard/finalizer.go 61.53% <ø> (ø)

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 4c40ffd...9f5e30c. Read the comment docs.

@tbavelier
Copy link
Member Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Sep 12, 2024

🚂 MergeQueue: pull request added to the queue

The median merge time in main is 15m.

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue bot merged commit 7c8da02 into main Sep 12, 2024
26 checks passed
@dd-mergequeue dd-mergequeue bot deleted the tbavelier/dashboard_finalizer_domain_qualified branch September 12, 2024 14:48
@khewonc khewonc modified the milestones: v1.10.0, v1.9.0 Sep 12, 2024
mftoure pushed a commit that referenced this pull request Oct 3, 2024
* Use fully-qualified domain name to avoid apiserver warning on dashboard CRD

* fix controller unit test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants