Skip to content

Commit

Permalink
reorder sentences in default removal of deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-hontarau committed Oct 25, 2024
1 parent 6a6fc16 commit 1630a44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/vendors/kubernetes/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,5 @@ The following screen highlights the Finished Run and output from a successful de
### Default Removal of Deployments

!!! info
By default; if a YAML file is removed from your repository, the resources with an attached `spacelift-stack=<stack-slug>` label will be removed from the Kubernetes cluster.
However, this removal only occurs if there are multiple YAML files in the repository. If there is only one YAML file and it is deleted, an error will occur.
The `--prune` flag will be utilized.
By default if a YAML file is removed from your repository, the resources with an attached `spacelift-stack=<stack-slug>` label will be removed from the Kubernetes cluster.
The `--prune` flag will be utilized. But you need to be aware that you need at least one YAML file to exist otherwise the run will fail.

0 comments on commit 1630a44

Please sign in to comment.