Bug 1778958 - Support Pipeline Operator 0.9.0
Summary: Support Pipeline Operator 0.9.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.4.0
Assignee: Andrew Ballantyne
QA Contact: Ruchir Garg
URL:
Whiteboard:
Depends On:
Blocks: 1788201 1789119
TreeView+ depends on / blocked
 
Reported: 2019-12-02 22:52 UTC by Andrew Ballantyne
Modified: 2020-05-13 21:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: v0.9.x+ of the OpenShift Pipeline Operator would not work with the UI code after removal of an API reference (serviceAccount was replaced with serviceAccountName). Consequence: The Pipelines created in OpenShift could possibly not create Pipeline Runs if they used the aforementioned key. Fix: Don't explicitly use the key and migrate if found. Result: Pipelines will again work with v0.9.x+ of the OpenShift Pipeline Operator.
Clone Of:
: 1788201 (view as bug list)
Environment:
Last Closed: 2020-05-13 21:53:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Support Pipeline Operator 0.9.0 (33.09 KB, image/png)
2020-01-08 21:12 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 3632 0 'None' closed Bug 1778958: Remove serviceAccount in favour of serviceAccountName 2020-03-04 11:42:50 UTC
Red Hat Product Errata RHBA-2020:0581 0 None None None 2020-05-13 21:53:35 UTC

Description Andrew Ballantyne 2019-12-02 22:52:18 UTC
Description of problem:
0.8.0 of the Pipeline Operator has deprecated the usage of 'spec.serviceAccount' in PipelineRuns. In 0.9.0 it will become an error to pass 'serviceAccount'.

The new field 'serviceAccountName' is to replace it.


Version-Release number of selected component (if applicable):
Pipeline Operator 0.9.0, 0.8.0
OpenShift 4.4, 4.3, 4.2

How reproducible:
Only when serviceAccounts are being used.


Steps to Reproduce:
1. Create a Pipeline
2. Manually CLI upload a Pipeline Run with a 'spec.serviceAccount' property equal to something
3. Upgrade to Pipeline Operator 0.9.0
4. From the UI, re-run the Pipeline Run that was uploaded

Actual results:
Tekton error saying `serviceAccount` is an invalid field

Expected results:
For this not to be a problem.

Additional info:
This will likely be hard to test as the Canary build today is 0.8.0 but it is soon to be promoted to the dev-preview (main available subscription), making room for 0.9.0 to become the Canary build.

It's not sure how long the Canary build will be 0.9.0, but once it gets promoted to dev-preview it will break the UI if this change is not there.

Comment 2 spathak@redhat.com 2020-01-08 21:11:16 UTC
Verified on build version: 4.4.0-0.ci-2020-01-07-061008

Comment 3 spathak@redhat.com 2020-01-08 21:12:49 UTC
Created attachment 1650842 [details]
Support Pipeline Operator 0.9.0

Pipeline worked after updating to 0.9x

Comment 5 errata-xmlrpc 2020-05-13 21:53:31 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:0581


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