Skip to content

Cannot delete ShipwrightBuild object if operator was removed #70

Description

@adambkaplan

Expected Behavior

If the Shipwright operator is removed, any ShipwrightBuild object should also be removed.

Actual Behavior

ShipwrightBuild objects remain (along with their related deployment of the Build controller). ShipwrightBuild objects cannot be deleted due to the finalizer placed on the ShipwrightBuild object.

Operator Version

v0.9.0

/kind bug

Activity

  1. added this to the release-v0.10.0 milestone on May 4, 2022
  2. qu1queee commented on May 4, 2022

    @qu1queee
    Contributor

    From grooming: @adambkaplan what would be the difference of this issue and #71 ?

  3. adambkaplan commented on May 6, 2022

    @adambkaplan
    MemberAuthor

    @qu1queee this is a separate issue that occurs because the Shipwright operator adds a finalizer to the ShipwrightBuild object. If the operator is removed after a ShipwrightBuild object had been created, the ShipwrightBuild object may never get deleted from the cluster.

  4. SaschaSchwarze0 commented on May 18, 2022

    @SaschaSchwarze0
    Member

    From grooming: the finalizer problem is a common problem with controllers in Kubernetes that get removed but objects with owned finalizers still exist. Documentation might be the only way to solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions