Documentation
¶
Overview ¶
Command greeting-controller is a minimal, compilable managed-resource controller built on provider-runtime. It reconciles a Greeting custom resource against a fake "external system" (an in-process store of external names), demonstrating the full wiring a real Krateo provider uses:
- a Managed type (Greeting) embedding provider-runtime conditions,
- an ExternalConnecter / ExternalClient pair (Observe/Create/Update/Delete),
- reconciler.NewReconciler with functional options,
- controller.DefaultOptions() -> ForControllerRuntime() queue wiring,
- the OTel-model slog logging handler from pkg/logging.
Build it with `go build .` (no cluster needed). Running it requires a kubeconfig and the Greeting CRD from ./crd.yaml — see README.md.
Click to show internal directories.
Click to hide internal directories.