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

'gitlab.secretReference' disappears when the buildconfig is edited on ‘From View’

XMLWordPrintable

    • Moderate
    • None
    • ODC Sprint 229, ODC Sprint 230, ODC Sprint 231, ODC Sprint 232
    • 4
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, when editing a BuildConfig in the form view, the `secretReference` of a trigger configuration was dropped. With this fix, the `secretReference` is not dropped anymore. (link:https://issues.redhat.com/browse/OCPBUGS-3314[*OCPBUGS-3314*])
      Show
      * Previously, when editing a BuildConfig in the form view, the `secretReference` of a trigger configuration was dropped. With this fix, the `secretReference` is not dropped anymore. (link: https://issues.redhat.com/browse/OCPBUGS-3314 [* OCPBUGS-3314 *])
    • Bug Fix
    • Done

      Description of problem:

      triggers[].gitlab.secretReference[1] disappears when a 'buildconfig' is edited on ‘From View’

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

      4.10.32

      How reproducible:

      Always

      Steps to Reproduce:

      1. Configure triggers[].gitlab.secretReference[1] as below 
      
      ~~~
      spec:
       .. 
        triggers:
          - type: ConfigChange
          - type: GitLab
            gitlab:
              secretReference:
                name: m24s40-githook
      ~~~
      2. Open ‘Edit BuildConfig’ buildconfig  with ‘From’ View:
       - Buildconfigs -> Actions -> Edit Buildconfig
      
      3. Click ‘YAML view’ on top. 

      Actual results:

      The 'secretReference' configured earlier has disappeared. You can click [Reload] button which will bring the configuration back.

      Expected results:

      'secretReference' configured in buildconfigs do not disappear. 

      Additional info:

      
      [1]https://docs.openshift.com/container-platform/4.10/rest_api/workloads_apis/buildconfig-build-openshift-io-v1.html#spec-triggers-gitlab-secretreference

       

              divgupta Divyanshi Gupta
              rhn-support-jseunghw Hwanii Seung Hwan Jung
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: