Bug 1998587

Summary: BuildConfig form doesn't update app.openshift.io/vcs-uri annotation
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.9CC: aos-bugs, mifiedle, nmukherj
Target Milestone: ---   
Target Release: 4.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-18 17:49:46 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:

Description Christoph Jerolimov 2021-08-27 16:56:58 UTC
Description of problem:
Cloned from https://issues.redhat.com/browse/ODC-6299

On changing git url in form editor the change is not reflected in the yaml as the annotation

`app.openshift.io/vcs-uri` value is not updated with the new URL. 


Version-Release number of selected component (if applicable):
4.9 master (tested with 5a03b49462d0f3b1b35409814ae722f96c753cf3)

How reproducible:
Always

Steps to Reproduce:
1. Open Edit BuildConfig form.
2. Update git url.
3. Open yaml editor.

Actual results:
Notice that `app.openshift.io/vcs-uri` is not updated with the new URL.

Expected results:
`app.openshift.io/vcs-uri` should be updated with the new URL and any other annotations/labels that depends on values that can be updated via the form editor should be updated accordingly.

Additional info:
None

Comment 5 spathak@redhat.com 2021-09-03 17:29:35 UTC
Verified on build version: 4.9.0-0.nightly-2021-09-01-193941
Browser: Google Chrome 89

Comment 8 errata-xmlrpc 2021-10-18 17:49:46 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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), 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/RHSA-2021:3759