mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
23 lines
508 B
Plaintext
23 lines
508 B
Plaintext
// Module included in the following assemblies:
|
|
// * assembly/builds
|
|
|
|
[id="builds-basic-delete-buildconfig_{context}"]
|
|
= 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>
|
|
----
|