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

ImagePullSecret getting duplicated when editing DeploymentConfig in Form View

XMLWordPrintable

    • Low
    • None
    • 1
    • ODC Sprint 3266
    • 1
    • False
    • Hide

      None

      Show
      None

      This is a clone of issue OCPBUGS-41974. The following is the description of the original issue:

      Description of problem:

      If a user updates a deployment config using Form view instead of yaml, the image pull secret is getting duplicated.
      ~~~
      $ oc get pods ubi9-2-deploy 
              message: |
                error: couldn't assign source annotation to deployment ubi9-2: failed to create manager for existing fields: failed to convert new object (testdc-dup-sec/ubi9-2; /v1, Kind=ReplicationController) to smd typed: .spec.template.spec.imagePullSecrets: duplicate entries for key [name="test-pull-secret"]
              reason: Error
      ~~~
      

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

          4.13.z,4.14.z,4.15.z

      How reproducible:

          

      Steps to Reproduce:

          1. Edit DeploymentConfig in Form view
          2. Update image version
          3. Save     

      Actual results:

          

      Expected results:

          

      Additional info:

          Issue is not reproducible on OCP 4.16.7+ version.

              rh-ee-lprabhu Lokananda Prabhu
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: