ROX-33584: Migrate cert monitor to controller-runtime#2624
Conversation
ae82fc1 to
8ff7fd3
Compare
8ff7fd3 to
3653fdb
Compare
| if len(selectorConfig.Name) != 0 && selectorConfig.LabelSelector != nil { | ||
| errs = append(errs, field.Invalid(path, selectorConfig, "cannot specify both name and label selector")) | ||
| func cacheOptions() ctrlcache.Options { | ||
| syncPeriod := syncPeriod |
There was a problem hiding this comment.
Out of curiosity what's the reason for this local copy?
There was a problem hiding this comment.
To take the address of a local variable (line 167), I can't take an address of the constant.
There was a problem hiding this comment.
I see. Just FYI, since we're not at Go 1.26 yet. with Go 1.26 you can use new with the expressions like constants
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johannes94, kovayur The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
e0378ca to
132cea0
Compare
|
New changes are detected. LGTM label has been removed. |
Description
rhacs.redhat.com/tlsto filter only stackrox TLS secretsChecklist (Definition of Done)
Test manualROX-12345: ...Test manual
TODO: Add manual testing efforts