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

ImagePullSecret getting duplicated when editing DeploymentConfig in Form View

    • Low
    • None
    • 1
    • ODC Sprint 3266, ODC Sprint 3267
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when you used the *Form View* to edit `Deployment` or `DeploymentConfig` API objects on the {product-title} web console, duplicate `ImagePullSecrets` parameters existed in the YAML configuration for either object. With this release, a fix ensures that duplicate `ImagePullSecrets` parameters do not get automatically added for either object. (link:https://issues.redhat.com/browse/OCPBUGS-45948[*OCPBUGS-45948*])
      Show
      * Previously, when you used the *Form View* to edit `Deployment` or `DeploymentConfig` API objects on the {product-title} web console, duplicate `ImagePullSecrets` parameters existed in the YAML configuration for either object. With this release, a fix ensures that duplicate `ImagePullSecrets` parameters do not get automatically added for either object. (link: https://issues.redhat.com/browse/OCPBUGS-45948 [* OCPBUGS-45948 *])
    • Bug Fix
    • Done

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

      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.

            [OCPBUGS-45948] ImagePullSecret getting duplicated when editing DeploymentConfig in Form View

            Verified on build version: 4.17.0-0.nightly-2024-12-20-140351
            Browser version: Chrome 110

            Sanket Pathak added a comment - Verified on build version: 4.17.0-0.nightly-2024-12-20-140351 Browser version: Chrome 110

            Hi rh-ee-lprabhu,

            Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

            OpenShift Jira Bot added a comment - Hi rh-ee-lprabhu , Bugs should not be moved to Verified without first providing a Release Note Type("Bug Fix" or "No Doc Update") and for type "Bug Fix" the Release Note Text must also be provided. Please populate the necessary fields before moving the Bug to Verified.

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

                Created:
                Updated: