buildpacks-community / kpack

Kubernetes Native Container Build Service
Apache License 2.0
952 stars 164 forks source link

Add `cascadeDelete` option to the `Image` and `Build` objects #1742

Open pbusko opened 4 weeks ago

pbusko commented 4 weeks ago

When cascadeDelete is set to true on a Build object, the produced image by the build will be removed from the registry upon object deletion. If the cascadeDelete is set on the Image object, it will be propagated to Builds