MGMT-13657: Don't wait for console if it is disabled - ACM 2.6 - #4980
Conversation
|
@jhernand: This pull request references MGMT-13657 which is a valid jira issue. 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. |
1 similar comment
|
@jhernand: This pull request references MGMT-13657 which is a valid jira issue. 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. |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## release-ocm-2.6 #4980 +/- ##
===================================================
+ Coverage 65.75% 65.80% +0.05%
===================================================
Files 189 189
Lines 26838 26904 +66
===================================================
+ Hits 17646 17705 +59
- Misses 7571 7575 +4
- Partials 1621 1624 +3
|
bf66a0a to
748e936
Compare
|
/retest |
1 similar comment
|
/retest |
This is a backport of MGMT-12471 for ACM 2.6. It includes the changes from pull request openshift#4594. Currently the service keeps for each cluster a list of the operators that it will wait for before considering the cluster installed. This list includes the console operator. But since version 4.11 that can be disabled via the `capabilities` section of the installer configuration file. For example: ```yaml capabilities: baselineCapabilitySet: None additionalEnabledCapabilities: - baremetal ``` That will configure the cluster so that only the `baremetal` optional capability will be installed, which effectively disables the `Console` capability. This patch changes the service so that it removes the console operator from that list when this kind of update is made to the installer configuration. Related: https://issues.redhat.com/browse/MGMT-13657 Related: https://issues.redhat.com/browse/MGMT-12471 Related: openshift#4594 Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
748e936 to
66d9376
Compare
|
@jhernand: all tests passed! 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: filanov, jhernand 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 |
This is a backport of MGMT-12471 for ACM 2.6. It includes the changes from pull request #4594.
Currently the service keeps for each cluster a list of the operators that it will wait for before considering the cluster installed. This list includes the console operator. But since version 4.11 that can be disabled via the
capabilitiessection of the installer configuration file. For example:That will configure the cluster so that only the
baremetaloptional capability will be installed, which effectively disables theConsolecapability.This patch changes the service so that it removes the console operator from that list when this kind of update is made to the installer configuration.
Related: https://issues.redhat.com/browse/MGMT-13657
Related: https://issues.redhat.com/browse/MGMT-12471
Related: #4594
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Tested with the included unit tests.
Checklist
docs, README, etc)Reviewers Checklist