Bug 1840383 - ServiceBindingRequest backingServiceSelectors breaks topology
Summary: ServiceBindingRequest backingServiceSelectors breaks topology
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.5.0
Assignee: Jeff Phillips
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks: 1846305
TreeView+ depends on / blocked
 
Reported: 2020-05-26 20:27 UTC by Jeff Phillips
Modified: 2020-07-13 17:42 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1846305 (view as bug list)
Environment:
Version: 4.5.0-0.ci-2020-05-26-081827 Cluster ID: 2b906c42-8514-4828-a46d-f7b0e14136b8 Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Last Closed: 2020-07-13 17:41:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5576 0 None closed Bug 1840383: Topologgy fix for service binding requests with no backingServiceSelector 2020-08-24 10:33:43 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:42:09 UTC

Description Jeff Phillips 2020-05-26 20:27:31 UTC
Description of problem:

A breaking change was introduced in the Service Binding Request CRD in order to support multiple backing selectors.

`backingServiceSelector` and `backingServiceSelectors` are both optional. In the past `backingServiceSelector` was required.

Version-Release number of selected component (if applicable):


How reproducible:

Always

Steps to Reproduce:
1. Install the Service Binding Operator
2. Create a deployment named 'my-app'
3. Create a service binding request without any backing service selectors:
  apiVersion: apps.openshift.io/v1alpha1
  kind: ServiceBindingRequest
  metadata:
    name: binding-1
  spec:
    applicationSelector:
      group: apps
      resource: deployments
      resourceRef: my-app
      version: v1
    detectBindingResources: true
4. Visit topology


Actual results:

White screens with error `Uncaught TypeError: Cannot read property 'kind' of undefined`


Expected results:

Topology to load correctly.

Additional info:

Comment 4 Gajanan More 2020-06-08 09:04:07 UTC
I have validated the bugzilla on:
Build: 4.5.0-0.nightly-2020-06-05-214616
Browser: Google Chrome Version 81.0.4044.129
Marking this as verified.

Comment 5 errata-xmlrpc 2020-07-13 17:41:51 UTC
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, 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:2409


Note You need to log in before you can comment on or make changes to this bug.