Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

538 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConfigHub Examples

This repo contains runnable examples for ConfigHub.

Safe First Checks

For a read-only first pass:

./scripts/verify.sh
cub context list --json
cub space list --json
cub target list --space "*" --json

If you are not logged in yet, run cub auth login before the cub commands.

Stable Paths

  • promotion-demo-data: quickest no-cluster demo data for learning ConfigHub's App-Deployment-Target model and promotion flow.
  • initiatives-demo: 5 compliance initiatives backed by Kyverno CEL policies, with sample Kubernetes units to evaluate.
  • custom-workers: worker extension examples, including bridge, function, and policy workers.
  • pilot-example-addons-manager: standalone generated operational app with Variant-first GUI, CLI sibling, production ConfigHub browser OAuth registration, and live-binding proof gates.
  • cost-management-app: generated operational app with a real cost engine: org-wide waste findings priced from config data, then a finding-owned dry run, short-lived exact review, explicit execution confirmation, revision-verified mutation, and receipt. The reduction plane beside cost-estimator's enforcement plane.
  • configboard: BI-style dashboards over the configuration in your organization — what version of what is where, which guardrails are failing, how many resources you manage, how long changes take to land. Read-only and seeds nothing. Dashboards are AppConfig/YAML units, so they carry revision history and promote like any other config, and every panel prints its equivalent cub command. Includes a 3-minute silent demo video and transcript.

Recommended Starting Points

  • If you want to explore Initiatives and compliance workflows, start with initiatives-demo.
  • If you want the quickest no-cluster path, start with promotion-demo-data.
  • If you want to understand Generators as functions on config data, start with spring-platform, then move to cub-gen/examples/springboot-paas for the product path, including the Spring ConfigHub Initiative GUI proof.
  • If you want to deploy to a cluster, see the GitOps operators guide — configuration is published as an OCI Release that Argo CD or Flux pulls.
  • If you want to see the state of an existing organization at a glance, start with configboard — it seeds nothing, and its demo video covers the six bundled dashboards in three minutes.
  • If you want worker extensibility, start with custom-workers.

Note on contract standard: EXAMPLE_CONTRACT_STANDARD.md

Companion Material

Some other examples

cub-scout remains useful as companion material and as a source of comparison fixtures:

About

ConfigHub Examples

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages