Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2094023

Summary: Add Git Flow - Template Labels for Deployment show as DeploymentConfig
Product: OpenShift Container Platform Reporter: Andrew Ballantyne <aballant>
Component: Dev ConsoleAssignee: divgupta
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: medium    
Version: 4.10CC: cjerolim, divgupta, hsaini, nmukherj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 11:16:21 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 Andrew Ballantyne 2022-06-06 15:13:26 UTC
Description of problem:
When I created a Deployment from the +Add flow, using git (and https://github.com/pmacik/nodejs-rest-http-crud), the underlying template labels say `deploymentconfig=` instead of the default selected `deployment`. Oddly enough, DeploymentConfigs also shows `deploymentconfig` label.

Steps to Reproduce:
1. Navigate to +Add and select by Git
2. Using 'https://github.com/pmacik/nodejs-rest-http-crud' use all the defaults
3. Create

Actual results:
Inside the YAML of the Deployment, it states:
```
kind: Deployment
spec:
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: nodejs-rest-http-crud
        deploymentconfig: nodejs-rest-http-crud
```

Expected results:
I'd have expected to see `deployment` as a label not `deploymentconfig`.

Comment 4 Hemant Saini 2022-06-27 09:14:10 UTC
verified on build version: 4.11.0-0.nightly-2022-06-25-081133
verified on browser version: chrome 102

Comment 6 errata-xmlrpc 2022-08-10 11:16:21 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 (Important: OpenShift Container Platform 4.11.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-2022:5069