Repository navigation
SANDBOX-955: update kube & openshift dependencies to 4.18 - #1170
Conversation
| Controller: ctrlconfig.Controller{ | ||
| SkipNameValidation: ptr.To(true), | ||
| }, |
There was a problem hiding this comment.
Due to this change in sigs.k8s.io/controller-runtime (introduced in v0.19.0), we need to skip the name validation to avoid this error:
{"level":"error","ts":"2025-04-22T10:46:41.577Z","logger":"setup","msg":"unable to create controller","controller":"ToolchainCluster","error":"controller with name toolchaincluster already exists. Controller names must be unique to avoid multiple controllers reporting to the same metric","stacktrace":"main.main\n\t/Users/rsoaresd/member-operator/cmd/main.go:245\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271"}
There was a problem hiding this comment.
Hm... so we are using the same name for different controllers? Can it cause any issues? Basically do we have to hide this error or actually fix it, if it's an actual error?
There was a problem hiding this comment.
+1
Can be done as separate PR
There was a problem hiding this comment.
From what I saw in the error:
controller with name usersignup already exists. Controller names must be unique to avoid multiple controllers reporting to the same metric
Addressed the change here: 9fc8c96
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, MatousJobanek, metlos, rsoaresd 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 |
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1170 +/- ##
=======================================
Coverage 83.56% 83.56%
=======================================
Files 82 82
Lines 7926 7927 +1
=======================================
+ Hits 6623 6624 +1
Misses 1102 1102
Partials 201 201
🚀 New features to boost your workflow:
|



Description
Update dependencies
Issue ticket number and link
SANDBOX-955