Skip to content

cuemix allows you to source external k8s manifests in cue and patch on top

License

Notifications You must be signed in to change notification settings

Amir-Ahmad/cuemix

Repository files navigation

cuemix

Cuemix allows you to source external manifests (via helm or yaml) in cue, and apply patches on top.

It uses helm's golang library to interact with helm charts, and kustomize's api to apply patches.

Cuemix only concerns itself with generating manifests and is meant to be used with a deployment tool like ArgoCD.

Examples

Check out the examples directory to see some sample definitions.

Try out any of the examples with cuemix build, e.g:

cuemix build ./examples/local-manifests/

# show only deployments
cuemix build -k deployment ./examples/local-manifests/

Features

  • Load helm charts from a helm repo, OCI repo, or local directory
  • Load manifests from a local file, directory, or URL
  • Apply strategic or json patches
  • Output objects sorted by kind, and optionally filter by kind

Check out schema.cue for all configuration options.

Planned work

  • Support loading cue objects from a configurable path
  • e2e tests

About

cuemix allows you to source external k8s manifests in cue and patch on top

Resources

License

Stars

Watchers

Forks

Packages