-
Notifications
You must be signed in to change notification settings - Fork 72
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
switch to route-controller-manager image and use ApplyDeployment #258
switch to route-controller-manager image and use ApplyDeployment #258
Conversation
e71ccd9
to
e716f9d
Compare
@@ -429,16 +447,11 @@ func manageOpenShiftControllerManagerDeployment_v311_00_to_latest(client appscli | |||
} | |||
newEnvs = append(newEnvs, env) | |||
} | |||
// reflect.DeepEqual does not consider this case equal |
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.
why is this no longer needed?
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.
because the new approach is to do a hash of the whole spec: https://github.com/openshift/library-go/blob/245d1ca16d1514313f3a7ab13ff2c9e3b07b5f43/pkg/operator/resource/resourceapply/apps.go#L95
and compare that here https://github.com/openshift/library-go/blob/master/pkg/operator/resource/resourceapply/apps.go#L131
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.
@knelasevero for awareness about this change. We need to do the same for https://github.com/openshift/cluster-kube-descheduler-operator/blob/master/pkg/operator/target_config_reconciler.go#L591 and https://github.com/openshift/secondary-scheduler-operator/blob/master/pkg/operator/target_config_reconciler.go#L276-L277. Would you please take a look?
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.
Will do
the change looks reasonable to me, modulo the question. I'll leave lgtm with @ingvagabund or delegate /approve |
e716f9d
to
869d5f8
Compare
/retest |
@@ -429,16 +447,11 @@ func manageOpenShiftControllerManagerDeployment_v311_00_to_latest(client appscli | |||
} | |||
newEnvs = append(newEnvs, env) | |||
} | |||
// reflect.DeepEqual does not consider this case equal |
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.
@knelasevero for awareness about this change. We need to do the same for https://github.com/openshift/cluster-kube-descheduler-operator/blob/master/pkg/operator/target_config_reconciler.go#L591 and https://github.com/openshift/secondary-scheduler-operator/blob/master/pkg/operator/target_config_reconciler.go#L276-L277. Would you please take a look?
/lgtm |
869d5f8
to
5b4ef1a
Compare
/lgtm |
with ApplyDeployment - newly reacts to all changes in Deployment spec (eg cmd changes will be reacted upon) - reacts to external changes like configmaps via spec annotations
…ager with ApplyDaemonSet - newly reacts to all changes in DeamonSet spec (eg cmd changes will be reacted upon) - reacts to external changes like configmaps via spec annotation
5b4ef1a
to
028c0fa
Compare
/hold until there is a first OSBS build |
/retest |
- add err handling for ensureAtMostOnePodPerNodeFn
5e87d41
to
2c88211
Compare
we have the first build |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atiratree, deads2k, ingvagabund The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label docs-approved failures do not seem to be connected to this change |
@atiratree: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
following up on #255
TODO: