-
Story
-
Resolution: Done
-
Critical
-
None
-
8
-
False
-
False
-
OCPPLAN-8030 - Console: Customer Happiness (RFEs) for 4.8-4.12
-
Undefined
-
-
Console - Sprint 200
The work on this story is dependent on following changes:
- Enhancement doc - https://github.com/openshift/enhancements/pull/577
- API change - https://github.com/openshift/api/pull/852
- Ingress operator changes - https://github.com/openshift/cluster-ingress-operator/pull/552
The console already supports custom routes on the operator config. With the new proposed CustomDomains API introduces a unified way how to stock install custom domains for routes, which both names and serving cert/keys, customers want to customise. From the console perspective those are:
- openshift-console / console
- openshift-console / downloads (CLI downloads)
The setup should be done on the Ingress config. There two new fields are introduced:
- ComponentRouteSpec - contains configuration of the for the custom domain(name, namespace, custom hostname, TLS secret reference)
- ComponentRouteStatus - contains status of the custom domain(condition, previous hostname, rbac needed to read the TLS secret, ...)
Console-operator will be only consuming the API and check for any changes. If a custom domain is set for either `console` or `downloads` route in the `openshift-console` namespace, console-operator will read the setup set a custom route accordingly. When a custom route will be setup for any of console's route, the default route wont be deleted, but instead it will updated so it redirects to the custom one. This is done because of two reasons:
- we want to prevent somebody from stealing the default hostname of both routes (console, downloads)
- we want to prevent users from having unusable bookmarks that are pointing to the default hostname
Console-operator will still need to support the CustomDomain API that is available on it's config.
Acceptance criteria:
- Console supports the new CustomDomains API for configuring a custom domain for both `console` and `downloads` routes
- Console falls back to the deprecated API in the console operator config if present
- Console supports the original default domains and redirects to the new ones
Questions:
- Which CustomDomain API takes precedens? Ingress config vs. Console-operator config. Can upgrade cause any issues?
- is blocked by
-
CONSOLE-2792 Bump openshift/api dependecy in console-operator to get CustomDomain API for Ingress config
- Closed
- links to