Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 508 Bytes

builds-basic-delete-buildconfig.adoc

File metadata and controls

22 lines (15 loc) · 508 Bytes

Deleting a BuildConfig

You can delete a BuildConfig using the following command.

Procedure

To delete a BuildConfig, run:

$ oc delete bc <BuildConfigName>

This also deletes all builds that were instantiated from this BuildConfig. Specify the --cascade=false flag if you do not want to delete the builds:

$ oc delete --cascade=false bc <BuildConfigName>