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

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

XMLWordPrintable

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

      None

      Show
      None

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

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

      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
              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:
                Resolved: