Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-8622

tektonpruner configmap values are getting overrided after upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • Pipelines 1.20.0
    • Pruner
    • False
    • Hide

      None

      Show
      None
    • False

      Description of problem:

      tektonpruner configmap values are getting overrided after upgrade

      Prerequisites (if any, like setup, operators/versions):

      Steps to Reproduce

      1. Install 1.19.3 operator
      1. Enable tektonpruner & update tekton-pruner-default-spec configmap with some values.

       

      global-config: |-    
          enforcedConfigLevel: global
          historyLimit: 8
          failedHistoryLimit: 3
          successfulHistoryLimit: 5  

       

      1. Create few pipelineruns in test namespaces and validate pipelineruns are being pruned with the values set in configmap.
      1. Upgrade the operator to 1.20
      1. Once the operator upgrade is done, validate the values of tekton-pruner-default-spec configmap.

       

      Actual results:

      **

      tekton-pruner-default-spec configmap values are getting overrided with default values as below.

       

      global-config: |
          enforcedConfigLevel: global
          ttlSecondsAfterFinished: null
          successfulHistoryLimit: null
          failedHistoryLimit: null
          historyLimit: 100
          namespaces: {} 

       

      Expected results:

      The same data before upgrade should be retained in configmap even after upgrade

      Reproducibility (Always/Intermittent/Only Once):

      Acceptance criteria: 

       

      Definition of Done:

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      PFA tektonconfig & configmap files before & after upgrade
      [^1.19.3_config_beforeupgrade.yaml] [^1.19.3_config_beforeupgrade.yaml]

        1. 1.19.3_config_beforeupgrade-2.yaml
          5 kB
          Sai Raju Manthina
        2. 1.19.3_pruner_configmap_beforeupgrade-2.yaml
          0.7 kB
          Sai Raju Manthina
        3. 1.20_pruner_configmap_afterupgrade-2.yaml
          2 kB
          Sai Raju Manthina
        4. 1.20_tektonconfig_after_upgrade-2.yaml
          5 kB
          Sai Raju Manthina

              Unassigned Unassigned
              rh-ee-smanthin Sai Raju Manthina
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: