Skip to content
 
 

Repository files navigation

plumbing

The shared Go library of the Krateo platform — reusable building blocks and the cross-repo contracts (helm reconcile engine, crdgen, composition labels) consumed by core-provider, composition-dynamic-controller and the platform services.

test Reference

What is this

A flat collection of independent Go packages with one module identity. It carries the Helm client with the fork-free apply-if-changed Reconcile engine that composition-dynamic-controller runs on, the crdgen JSON-Schema → CRD transpiler core-provider uses, the labels package that pins the core-provider ↔ CDC label contract at compile time, plus kubeutil/*, jwtutil and small utilities. Library only: no binary, no image, no chart. Full picture: docs/index.md.

Install

go get github.com/krateo-platformops/plumbing@v1.13.2

Configure

There is almost nothing to configure — see docs/configuration.md. Most used:

Setting Default Effect
HELM_DRIVER secret Helm release-storage driver used by helm/v3.
CLUSTER_NAME unset Overrides kubeutil.DetectClusterName.
build tag envtest off Selects the real-apiserver functional tests (make test-envtest).

Examples

  • examples/minimalvalues.schema.json → CRD via crdgen.Generate; go run ./examples/minimal.

Docs

Develop & release

go build ./... && make test-race (CI adds make test-envtest). Releases are plain vX.Y.Z git tags — see docs/release.md.

About

Reusable building blocks and common helpers to reduce boilerplate across Krateo PlatformOps projects

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages