Umbrella: BrewFormula CRD + controller that runs Linuxbrew on k3s #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-15T01:48:15Z - https://github.com/coilysiren/linuxbrew-operator/issues/1
Premise
A Kubernetes operator that reconciles
BrewFormulacustom resources by running Linuxbrew. The CRD lets a user declarespec.tap,spec.formula,spec.version,spec.installTarget. The controller does the work.Why this exists
personal-dashboard#63 sketched this as a joke shape. Turns out the niche is genuinely empty (verified 2026-05-14: no existing project, kbrew is unrelated). Worth being first.
v1alpha1 spec shape
Install targets
installTarget: pod(ship first) - controller spawns ephemeral Job usinghomebrew/brewimage, brew-installs into PVC, then creates a Deployment that mounts the PVC and runs the binary. Clean, reproducible, no host privileges.installTarget: host(phase 2) - controller drives a privileged DaemonSet that runsbrew installagainst the node's Linuxbrew prefix and emits a systemd unit. The original joke shape from #63.Stack
chart/deploys CRD + controller + RBAC.coilysiren/linuxbrew-operator.kbrewis taken for an unrelated CLI.linuxbrew-operatoris specific.First consumer
personal-dashboard. Wire it up via a
BrewFormulaCR once the operator can reconcile one end-to-end.Out of scope for v1alpha1