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

Auto prune is allowing to configure both keep and keep-since

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Pipelines 1.10.0
    • Pipelines 1.10.0
    • None
    • None
    • False
    • None
    • False
    • Pipelines Sprint 235

      Description of problem:

      Auto prune is allowing to configure both keep and keep-since

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

      Steps to Reproduce

      Test case

       

      Actual results:

      Able to configure bore keep and keep-since

      Expected results:

      Below error should be shown when user tries to update both keep and keep-since

      validation failed: expected exactly one, got both: spec.pruner.keep, spec.pruner.keep-since
      

      Reproducibility (Always/Intermittent/Only Once):

      Always

              jkandasa-rh Jeeva Kandasamy
              varadhya Veeresh Aradhya (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: