Uploaded image for project: 'OpenShift Builds'
  1. OpenShift Builds
  2. BUILD-770

Shipwright Operator Deletes Build CRDs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • builds-1.0
    • None
    • shipwright
    • False
    • None
    • False
    • Pipeline Integrations #3248
    • 1

      Description of problem:

      When the ShipwrightBuild object is deleted, the operator deletes the Shipwright Build custom resource definitions (BuildStrategy, Build, BuildRun, etc.). This can result in data loss for customers

      Workaround

      None.

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

      1. Deploy Shipwright operator

      Steps to Reproduce

      1. Create ShipwrightBuild instance.
      2. Run a few builds via Shipwright.
      3. Delete the ShipwrightBuild instance.

       

      Actual results:

      Build CRDs and all related data are removed from the cluster, or otherwise cannot be accessed.

      Expected results:

      Build CRDs and related data remain accessible, but build controllers and related components are removed.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Acceptance criteria: 

      When ShipwrightBuild instance is deleted, the Build-related CRDs remain intact and customer data is not deleted by the operator.

      Definition of Done:

      Build Details:

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

              adkaplan@redhat.com Adam Kaplan
              adkaplan@redhat.com Adam Kaplan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: