Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.controlplane.com/llms.txt

Use this file to discover all available pages before exploring further.

Control Plane prevents deletion of any resource that has the 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:
  1. Click Tags.
  2. Click the Add button.
  3. In the blank row that was added:
    • Enter cpln/protected for the Key.
    • Enter true for the Value.
  4. Click Update.

Remove tag

From nearly any resource within the Console, follow these steps to remove the protected tag:
  1. Click Tags.
  2. Click the delete icon for the row that contains the cpln/protected tag.
  3. Click Update.
You can also toggle resource protection by clicking the lock switch to the right of the Actions button.

Using the CLI

Most resource commands support the tag subcommand. The examples below add and remove the cpln/protected tag from a workload. Substitute workload with the target resource kind.
cpln workload tag WORKLOAD_NAME --tag cpln/protected=true --gvc GVC_NAME --org ORG_NAME