Bug 2094023 - Add Git Flow - Template Labels for Deployment show as DeploymentConfig
Summary: Add Git Flow - Template Labels for Deployment show as DeploymentConfig
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 4.11.0
Assignee: divgupta
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-06 15:13 UTC by Andrew Ballantyne
Modified: 2022-08-10 11:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 11:16:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 11740 0 None open Bug 2094023: Add correct pod template labels via add flows 2022-06-21 11:52:04 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 11:16:36 UTC

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


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