Skip to content

ConfigHub by Example

There is a wide range of ways to use ConfigHub. The tutorial introduces you to the simple basic concepts. To go beyond that, we have created some additional, more elaborate examples of how you can use ConfigHub.

Each example is contained in its own directory in the Examples Github repo. The repo contains scripts that simplify more advanced operations as well as various sample config files to start from.

Prerequisites

Before starting any example, make sure you have:

  1. Installed the CLI: Follow the setup guide to install cub
  2. Logged in: Run cub auth login to authenticate with your ConfigHub account
  3. Cloned the examples repo:
    git clone https://github.com/confighub/examples.git
    
  4. Changed to the example directory: cd into the appropriate subdirectory for the example you want to try

Examples

Example Description
Global App Demonstrates how to use ConfigHub to manage a typical micro-service application deployed in different variants for testing, staging, and production across multiple regions
Helm Platform Components Demonstrates how to render Helm charts into ConfigHub and customize the config inside ConfigHub
VM Fleet Demonstrates how to use ConfigHub with Crossplane to manage a fleet of VMs (EC2 instances)
Flux Bridge Demonstrates how to integrate ConfigHub with FluxCD using a custom bridge and ExternalArtifacts