[WRKLDS-730] react to route-controller-manager refactoring#2674
[WRKLDS-730] react to route-controller-manager refactoring#2674openshift-merge-robot merged 2 commits intoopenshift:mainfrom
Conversation
|
/retest |
|
we are getting so we need to merge changes in openshift/route-controller-manager#28 first and then react to the changes with this PR right away |
|
/test ? |
|
@atiratree: The following commands are available to trigger required jobs:
The following commands are available to trigger optional jobs:
Use
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
let's see if it passes 4.13 job |
control-plane-operator/controllers/hostedcontrolplane/routecm/deployment.go
Outdated
Show resolved
Hide resolved
control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go
Outdated
Show resolved
Hide resolved
| configKey = "config.yaml" | ||
| ) | ||
|
|
||
| func ReconcileOpenShiftRouteControllerManagerConfig(cm *corev1.ConfigMap, ownerRef config.OwnerRef, minTLSVersion string, cipherSuites []string, networkConfig *configv1.NetworkSpec) error { |
There was a problem hiding this comment.
can we please have a unit test for this?
There was a problem hiding this comment.
added tests for both OCM and RCM
|
@enxebre can you please take a look again? Also this has to be merged at the same exact time as openshift/route-controller-manager#28 since they are dependent on each other. And openshift/cluster-openshift-controller-manager-operator#295 is a prerequisite. |
|
/test verify |
|
@enxebre would you mind taking a look at this?. Thanks. |
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/retest-required |
|
@enxebre the tests are passing, could you please do another review? |
control-plane-operator/controllers/hostedcontrolplane/hostedcontrolplane_controller.go
Outdated
Show resolved
Hide resolved
| if cm.Data == nil { | ||
| cm.Data = map[string]string{} | ||
| } | ||
| config := &openshiftcpv1.OpenShiftControllerManagerConfig{} |
There was a problem hiding this comment.
why do we need to deserialize this instead of just construct the struct, serialize and store it?
There was a problem hiding this comment.
@enxebre I thought it was to potentially allow changes to the config by another actor (similar to OCM). But I can remove the deserialization part if that is not needed.
- split config from OCM and pass only relevant data - pass kubeconfig and pod name/namespace
…ncileOpenShiftControllerManagerConfig
✅ Deploy Preview for hypershift-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atiratree, enxebre 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 |
|
/label tide/merge-method-squash |
|
@atiratree: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/test e2e-kubevirt-aws-ovn |
|
/lgtm |
What this PR does / why we need it:
This has to be merged before openshift/route-controller-manager#28
Which issue(s) this PR fixes
Fixes # https://issues.redhat.com/browse/WRKLDS-730
Checklist