Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 674 Bytes

builds-basic-delete-buildconfig.adoc

File metadata and controls

25 lines (20 loc) · 674 Bytes

Deleting a BuildConfig

You can delete a BuildConfig using the following command.

Procedure
  • To delete a BuildConfig, enter the following command:

    $ oc delete bc <BuildConfigName>

    This also deletes all builds that were instantiated from this BuildConfig.

  • To delete a BuildConfig and keep the builds instatiated from the BuildConfig, specify the --cascade=false flag when you enter the following command:

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