Bug 1959696
| Summary: | Deprecate 'ConsoleConfigRoute' struct in console-operator config | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jakub Hadvig <jhadvig> |
| Component: | Management Console | Assignee: | Jakub Hadvig <jhadvig> |
| Status: | CLOSED ERRATA | QA Contact: | Yanping Zhang <yanpzhan> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.8 | CC: | aos-bugs, jokerman, spadgett, yapei |
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 23:08:01 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jakub Hadvig
2021-05-12 06:44:09 UTC
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-05-17-121817.
Steps to verify:
1. Config "route" field in console operator config:
# oc patch console.operator cluster -p '{"spec":{"route":{"hostname": "custom-console-1.qe1.devcluster.openshift.com","secret":{"name": "custom-console-component"}}}}' --type merge
2. Check console-operator pod log, there is warning info about "Deprecated":
W0518 03:31:45.161125 1 controller.go:156] Deprecated: custom domain is being configured on console-operator config for the 'console' route.
Please remove that entry from console-operator config and instead configure ingress config spec with following custom domain entry for 'console' route:
----
spec:
componentRoutes:
- name: console
namespace: openshift-console
hostname: custom-console-1.qe1.devcluster.openshift.com
servingCertKeyPairSecret:
name: custom-console-component
----
The bug is fixed, so move it to verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |