Description of problem: When user click 'Add Pipeline Resources' button on Pipelines -> Resources tab, the changes can't be saved Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2020-01-15-025207 How reproducible: Always Steps to Reproduce: 1. admin user install OpenShift Pipeline operator and create project 'pipeline-tutorial' 2. Create a Pipeline example via Pipelines -> Pipelines -> Create Pipeline button 3. Check Pipelines -> new-pipeline -> Resources tab, click 'Add Pipeline Resources' button, set name 'test-image' and choose resource type 'Image' 4. Create a pipeline from pipeline-tutorial repo $ oc create -f https://raw.githubusercontent.com/openshift/pipelines-tutorial/master/pipeline/pipeline.yaml 5. Check Pipelines -> build-and-deploy -> Resources tab, click 'Add Pipeline Resources' button, set set name 'test-image' and choose resource type 'Image' Actual results: 3. Console says: You made changes to this page. Click Save to save changes or Reload to cancel. But Save button is always disabled although everything is filled correctly 5. This time Save button is enabled, saving the change will report error An error occurred admission webhook "webhook.tekton.dev" denied the request: mutation failed: invalid value: Pipeline declared resources didn't match usage in Tasks: Provided extra values: [test-image]: spec.resources Expected results: 3. When resource name and resource type are set correctly, Save button should be enabled and user can save the changes 5. From the error message, it looks like spec.resources must be used/referenced in spec.tasks, if that's the truth, it looks like user can't simply add resources via Pipelines Resources tab Additional info:
Setting target release to the active development branch (4.4). For fixes (if any) required/requested on earlier versions, BZ clones will be created.
Appears broken in 4.4 and 4.3... will need a fix and backport. Thanks for the log! Logged in our backlog: https://issues.redhat.com/browse/ODC-2881
Steps to verify: 1. admin user install OpenShift Pipeline operator and create project 'pipeline-tutorial' 2. Create a Pipeline example via Pipelines -> Pipelines -> Create Pipeline button -> Edit YAML -> Create 3. Check Pipelines -> new-pipeline -> Resources tab, click 'Add Pipeline Resources' button, set name 'test-image' and choose resource type 'Image' Now the Save button on Resources tab is enabled after everything is filled correctly, also on Parameters tab Save button is enabled when all required fields are filled correctly Verified on 4.4.0-0.nightly-2020-02-18-164016
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:0581