cuemix

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 4, 2023 License: Apache-2.0

README

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

Directories

Path Synopsis
cmd
internal
app
pkg
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL