Description of problem: When creating a ConsoleNotification, spec.location is optional; however, if no spec.location is specified, the ConsoleNotification will not appear in the console. Steps to Reproduce: 1. Visit /k8s/cluster/console.openshift.io~v1~ConsoleNotification/~new 2. Delete spec.location 3. Click Create 4. Note the ConsoleNotification does not appear in the console. Actual results: No ConsoleNotification appears. Expected results: The console should default the location for any ConsoleNotification without a spec.location.
PR in the merge queue; bug awaiting QE verification.
Checked on ocp 4.6 cluster with payload 4.6.0-0.nightly-2020-09-12-230035。 1. Visit /k8s/cluster/console.openshift.io~v1~ConsoleNotification/~new 2. Delete spec.location 3. Click Create. 4. The created ConsoleNotification appears on the top of the console. The bug is fixed.
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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196