Control Plane prevents deletion of any resource that has theDocumentation Index
Fetch the complete documentation index at: https://docs.controlplane.com/llms.txt
Use this file to discover all available pages before exploring further.
cpln/protected tag set to true.
Use this tag to safeguard critical resources such as workloads and secrets from accidental deletion. To delete a protected resource, first remove the tag or change its value from true.
Using the Console
Add tag
From nearly any resource within the Console, follow these steps to add the protected tag:- Click
Tags. - Click the
Addbutton. - In the blank row that was added:
- Enter
cpln/protectedfor theKey. - Enter
truefor theValue.
- Enter
- Click
Update.
Remove tag
From nearly any resource within the Console, follow these steps to remove the protected tag:- Click
Tags. - Click the delete icon for the row that contains the
cpln/protectedtag. - Click
Update.
Using the CLI
Most resource commands support thetag subcommand.
The examples below add and remove the cpln/protected tag from a workload. Substitute workload with the target resource kind.