cpln helm command lets you manage Control Plane resources using Helm charts. Define your infrastructure as Helm templates and deploy them as versioned releases with full rollback support.
When to use this
Templated deployments
Use Helm’s templating engine for complex, parameterized configurations
Environment management
Deploy the same chart with different values for dev, staging, and production
Versioned releases
Track deployment history and rollback to previous versions
Helm ecosystem
Leverage existing Helm workflows and chart repositories
Prerequisites
CLI installed
CLI installed
Install the Control Plane CLI. See Installation.
Helm installed
Helm installed
Install Helm (v3 or later).
Required permissions
Required permissions
You need policies to create the resources defined in your chart, plus
reveal permission on secrets to manage release state.Core concepts
Releases
A release is a deployed instance of a Helm chart. Each release:- Has a unique name within your organization
- Stores its state in an opaque secret
- Tracks revisions for rollback (10 by default, configurable with
--history-limit) - Tags resources with
cpln/releasefor tracking
Release state
The release state tracks all resources deployed by the release, enabling:- Detection of added, modified, or removed resources
- Automatic cleanup of deleted resources on upgrade
- Rollback to any previous revision
Quick start
1
Create a chart
Generate a new Helm chart:
2
Define resources
Replace the contents of
my-chart/templates/ with Control Plane resources:my-chart/templates/resources.yaml
3
Configure values
Update
my-chart/values.yaml:my-chart/values.yaml
4
Install the release
Deploy the chart:
Install a release
- Local chart
- Helm repository
- OCI registry
Wait for readiness
Wait for workloads to become ready:Upgrade a release
Update a release after modifying the chart:- Renders the updated chart
- Applies new and modified resources
- Deletes resources removed from the chart
- Updates the release state
Manage revision history
By default, each release retains up to 10 revisions for rollback. Use--history-limit on upgrade to adjust this:
| Value | Behavior |
|---|---|
10 (default) | Keeps the 10 most recent revisions |
0 | Keeps all revisions indefinitely |
N | Keeps the N most recent revisions |
Rollback a release
Revert to a previous revision:View release information
- List releases
- Release history
- Get manifest
- Get values
Uninstall a release
Remove all resources and delete the release:- All resources tracked by the release
- The release state secret
Template preview
Preview the rendered output without deploying:Injected values
The CLI automatically injects these values into your chart:| Key | Description |
|---|---|
cpln.org | Current organization name |
cpln.gvc | Current GVC name |
Protect resources from deletion
Prevent a resource from being deleted during upgrades or uninstalls:Chart notes
Createtemplates/NOTES.txt to display messages after install/upgrade:
Environment-specific values
Use different values files for each environment:Troubleshooting
Release already exists
Release already exists
Use
upgrade instead of install for existing releases:Resources not deleted on upgrade
Resources not deleted on upgrade
Ensure you’re using the same release name. Resources are only tracked within a single release.
Rollback fails
Rollback fails
Check available revisions with
cpln helm history. By default, only 10 revisions are retained. See Manage revision history to adjust this limit.Permission denied on install
Permission denied on install
Ensure you have
reveal permission on secrets to manage release state.