ConfigHub Guides
Each guide shows how to do one kind of task with ConfigHub, using the cub CLI and, where it has one, the web UI. They assume you have done the tutorial, which introduces Components, variants, Targets and Releases, and that you have installed the CLI. The Background section explains the concepts and entities the guides use, and the Developer section has the API and CLI references.
After the tutorial, these guides, in this order, cover the work most people do every day: Manage Environments, Create and Manage Variants, Make Changes, Automate Validation, Changes, and Analysis with Functions, Publish Releases, Track and Promote Changes, and Validate Configuration and Enforce Policies.
The guides are grouped by the stage of work they cover. To find the one for a task, look it up below.
Bring Configuration In
| To |
Read |
| Get Kubernetes manifests into ConfigHub, from Helm, kustomize, kubectl and other tools |
Author, Migrate, and Import Configuration |
| Install off-the-shelf software, such as k8sbot or registrybot, from a package |
Install Packages |
| Change a package's answers, upgrade it, or undo an install |
Changing answers and upgrading |
| Write and publish a package of your own |
Working step by step, and writing packages |
| Install a Helm chart as a component, and upgrade it |
Install Helm Charts |
| Upload rendered manifests as a component's base |
Seeding a base space with cub variant upload |
| Store application configuration files (YAML, JSON, TOML, INI, properties, env) |
Store and Use Application Configuration |
| Deliver application configuration as a ConfigMap, and roll the workload when it changes |
Deploying as a Kubernetes ConfigMap |
| Find the Unit a live resource came from |
Finding where a resource came from |
| Bring a change made in the cluster back into its Unit |
Keeping a change made in the cluster |
| Record a cluster's Kubernetes version, resource types and other facts on its Target |
Recording facts about a cluster |
| Give workloads secrets without storing them in ConfigHub |
Reference Secrets |
| Read a different secret manager key in each environment |
A different key in each environment |
Organize Components, Environments, and Variants
Change Configuration
| To |
Read |
| Edit configuration, and group the edits into a named change |
Make Changes |
| Draft a change in a Space of its own and propose it for review |
Drafting a change in a Space of its own |
| Set an image, replica count, environment variable or any other value with a function |
Automate Validation, Changes, and Analysis with Functions |
| Select a set of Units to change together, such as every production deployment of a component |
Manage Sets of Units |
| Save the Units you work with as a Filter, and show them in a View |
Organize and Focus with Filters and Views |
| Write one change that works on every variant |
Write Changes That Generalize Across Variants |
| Keep a value a variant chose when its upstream changes |
Protecting a variant's own values |
| Deal with what a merge could not apply |
Conflicts |
| Keep a value from being changed by anyone who doesn't know why it is set |
Guarding values against every change |
| Re-run upstream changes downstream, or limit what a merge may touch |
Use Advanced Merging Techniques |
| Find out who set a value, when, and as part of which change |
Trace Where Configuration Values Came From |
| Undo a change |
Undoing a Change Set and Reverting changes |
Validate and Govern
Work as a Team
Extend ConfigHub
Run ConfigHub
| To |
Read |
| Install ConfigHub in your own environment, try it on a Mac, add people, and upgrade it |
Install a Self-Hosted Server |
| Run the server from your own manifests, or expose its OCI registry behind a load balancer |
Self-hosting |
| Monitor the server, k8sbot and registrybot with Prometheus or OpenTelemetry |
Monitor with Metrics |