Install
Chrysopoeia needs these on the cluster:
-
Flux’s source-controller, helm-controller and image-reflector-controller. The image-reflector-controller needs a sidecar that serves the discovered tags, see
config/flux. -
cert-manager, for the webhook and metrics certificates.
From the repository
The kustomizations in config/ install the pieces one by one:
kubectl apply -k config/flux # Flux controllers with the tag-serving sidecar
kubectl apply -k config/crd # chrysopoeia's own CRDs
kubectl apply -k config/default # the controller in chrysopoeia-system
config/default deploys RBAC, the manager, its webhook and certificates, but not the CRDs.
config/proxy adds the harness proxy in chrysopoeia-proxy-system, needed only for OperatorHarnesses.
Chrysopoeia only watches ClaimDefinitions in the namespace it runs in, chrysopoeia-system with config/default.
Apply them there.
To try it, config/samples holds a ClaimDefinition for podinfo, next to a sample DependencyGroup and OperatorHarness:
kubectl -n chrysopoeia-system apply -k config/samples
kubectl get crds podinfos.v6.podinfo.helmetica-bundles.io