Bug 1866845

Summary: Optional pipeline resources are displayed as mandatory
Product: OpenShift Container Platform Reporter: Karthik Jeeyar <kjeeyar>
Component: Dev ConsoleAssignee: Karthik Jeeyar <kjeeyar>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.5CC: aos-bugs, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1867526 (view as bug list) Environment:
Last Closed: 2020-10-27 16:25:59 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:
Bug Depends On:    
Bug Blocks: 1867526    
Attachments:
Description Flags
Optional resource displayed as mandatory none

Description Karthik Jeeyar 2020-08-06 14:31:51 UTC
Created attachment 1710666 [details]
Optional resource displayed as mandatory

Description of problem:
Optional Pipeline resources are displayed as a mandatory field in pipeline builder form

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


How reproducible:
Always

Steps to Reproduce:
1. choose openshift-client (Cluster task with optional field reference [1]) in the pipeline builder form


[1] - https://github.com/tektoncd/catalog/blob/master/task/openshift-client/0.1/openshift-client.yaml

Actual results:
Pipeline builder form will be disabled and the missing resource icon will be shown on the task bubble.


Expected results:
Pipeline creation should not be stopped, if the task has optional resource in the spec.

Comment 3 Mohammed Saud 2020-08-13 07:44:13 UTC
Tested on:

build: 4.6.0-0.nightly-2020-08-02-091622
user: kubeadmin
url: https://console-openshift-console.apps.aballant-2020-08-12-late.devcluster.openshift.com/

Comment 5 errata-xmlrpc 2020-10-27 16:25:59 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 (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