-
Notifications
You must be signed in to change notification settings - Fork 110
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
[cleanup] reorganize constant files #1399
Conversation
bbaed67
to
f32c0ee
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1399 +/- ##
=======================================
Coverage 47.40% 47.40%
=======================================
Files 223 223
Lines 19244 19244
=======================================
Hits 9123 9123
Misses 9635 9635
Partials 486 486
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
ServiceAccountKind = "ServiceAccount" | ||
ClusterRoleBindingKind = "ClusterRoleBinding" | ||
ClusterRoleKind = "ClusterRole" | ||
RoleKind = "Role" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we consider also adding within the singular RoleBindingKind = "RoleBinding"
as it was present previously in internal/controller/datadogagent/const.go
, even though it's not used yet ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the review - since we're not using it i'll leave it out, but if we ever do need it in the future it'll be clear where it goes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking great! One minor comment but LGTM
What does this PR do?
Move some constant definitions
Provide descriptions of what constant files are used for
A bit of housekeeping, like fixing grammar on descriptions and alphabetizing chunks of constant definitions
Motivation
Cleanup
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?
Describe your test plan
This change is noop. Can run
make build
andmake test
to confirmChecklist
bug
,enhancement
,refactoring
,documentation
,tooling
, and/ordependencies
qa/skip-qa
label