Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-12472

DeploymentConfig spec.selector and spec.template.metadata.labels reflecting the older values even after the change

XMLWordPrintable

    • Moderate
    • No
    • ODC Sprint 236
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      DeploymentConfig spec.selector and spec.template.metadata.labels reflecting the older values even after the change in the OCP web console (Developer View)
      

      Version-Release number of selected component (if applicable):

      4.11

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create a deploymentconfig using the oc cli
      $ oc new-app   --as-deployment-config  --image quay.io/redhattraining/hello-world-nginx
      
      2. Go to OCP Web Console -> Developer View -> Project -> [Select your project] -> DeploymentConfig (Inventory) -> Select DeploymentConfig -> Actions -> Edit DeploymentConfig -> change `spec.selector` and `spec.template.metadata.labels` to the same value
      
      
      3. Go to OCP Web Console -> Developer View -> Project -> [Select your project] -> DeploymentConfig (Inventory) -> Select DeploymentConfig -> Actions -> Edit DeploymentConfig -> switch to Form view -> Switch to YAML view
      
      
      

      Actual results:

      You will see the older values under `spec.selector` and `spec.template.metadata.labels`. The new values did not appear.

      Expected results:

      The YAML view should show the correct updated values.

      Additional info:

       

            rh-ee-lprabhu Lokananda Prabhu
            rhn-support-dpateriy Divyam Pateriya
            Xiyun Zhao Xiyun Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: