Skip to main content

Built-in Offering Plan (draft)

Status: draft, partly built. The sections say which parts are built and which are not. Where Serge has answered, the page says “decided” with the date and, where it matters, his words. Every other “include”, “combine” and “not” is a proposal for Serge, with its reason. The questions of the first draft are listed at the end with the answer to each; none is open.

This page builds on the Conclusion of the Helm chart pattern survey (go-kure/launcher#1637). It does not repeat the survey’s counts; follow the links there for the evidence.

The words used

Read Model and Layers first for components, traits and lowering. The page uses these terms.

TermMeaningWhere it is defined
Built-in typeA component or trait type that launcher ships with Go code: a handler that builds the object.components README, traits README
Kind typeA built-in type that writes exactly one Kubernetes kind with no launcher opinions, such as servicemonitor or cnpg-cluster.Operator custom-resource components
Go lowering ruleGo code that expands a high-level type into lower-level types, such as webservice, postgresql or the expose trait.Lowering Engine
Configuration modelA YAML document (kind: Model) that declares inputs and computes parts with CEL. It adds a component type with no Go.pkg/oam/model README
Generic routeA ComponentDefinition over a pinned CRD, which makes a kind available with no handler (go-kure/launcher#1712, merged).go-kure/launcher#102
PartOne entry of a model: a component or a trait that the model expands to.model README

A configuration model defines a component type. The model README says a trait on a component of a model type is refused. So a configuration-defined trait type does not exist today, and none is being built: see “Traits” for the decision of 2026-11-28.

What the page proposes, in one table

“Include” means launcher ships it built in. “By hand” means a user writes the object explicitly in the document, and launcher builds no higher-level part for it. The type that makes the kind available is either a built-in type that already exists, or a definition the user pins through the generic route.

CandidateProposalShapeReason
Workload model: a workload with optional volume, exposure, database, monitoring and backupIncludeConfiguration model, with one mode input (service, worker or job; decided 2026-11-27, see Models); go-kure/launcher#1737 (built: workload@v1, see the shipped README)It is the most frequent combination that no single type gives (survey, Candidate models). One model with parts switched off replaces a monitored-web-service model and a stateful-web-app model.
Generic monitoring part: a scrape and a ruleIncludeBoth a part of the workload model (go-kure/launcher#1737) and a Go trait (decided 2026-11-27, see Traits; the trait is built, go-kure/launcher#1736)It serves the most widespread use case in the survey’s charts. It lowers to VictoriaMetrics kinds only.
Generic backup partIncludeLowers to cnpg-scheduledbackup for a database and to VolSync for a volumeDecided on 2026-11-27 (see Backups). It needs no new kind.
S3 storage: create a bucket, and consume oneInclude, as a base offering (decided 2026-11-27)Create: backend specific. Consume: one configuration model for every S3 (go-kure/launcher#1738)Two separate concerns, researched on 2026-11-28 (see S3 as a base offering).
Data store modelInclude, low priorityConfiguration model, one generic model (go-kure/launcher#1755)An operator type is the better route where one exists, so the value is where none does.
Operator install modelNot for nowhelm already delivers most of it, so the value is low (survey, Conclusion). The per-namespace grant needs Go.
Many-service applicationNotIt is the worked example of what the mechanism must build. A user writes a model for it.
Generic dashboard part or trait (Grafana, Perses)NotThe content of the dashboards is too different (Serge, 2026-11-27). The kinds stay by hand.
Prometheus instance kinds (Prometheus, Alertmanager, ThanosRuler; PrometheusAgent has no built-in type)The three built-in types stay as hand-written types (decided 2026-11-27)Built-in types, as todayLauncher still has no native Prometheus backend and no part lowers to them (Serge, 2026-11-27).
Velero Backup, Schedule and the location kindsBy hand onlyGeneric routeVelero is not a default backup target (decided 2026-11-27).
EMQXNotSerge’s reason: it is no longer open source. The licence was not researched.

Base kinds, models and traits

Base kinds (built-in types)

  • Decided 2026-11-28: a generic-route definition, with no Go, for each VictoriaMetrics kind the generic monitoring part lowers to: VMServiceScrape, VMPodScrape and VMRule, shipped in the binary with each CRD pinned to an operator release (go-kure/launcher#1735). They have no built-in type, and a generic-route definition is enough for a model to write them (see “What a model part can write”).

  • Decided 2026-12-03: which kinds are Go types and which ship as definitions. The rule is “things that deploy pods should get go types”. A kind that starts pods is a Go type. A kind that starts none ships as a definition, with one exception: a kind that can hold a secret or a URL under any key of an open node (VMAlertmanagerConfig) is a Go type too. The words and the answers behind it are recorded on go-kure/launcher#1637 (comment of 2026-12-03): “we are choosing BASE KINDS here” and “things that deploy pods should get go types” (2026-12-02), and, for MariaDB, “build support for all mariadb operator objects, make sure you use the latest stable version”. Snapshots are separate from VolSync. Higher-level models (a mariadb or a monitoring model) are a separate layer, decided later (go-kure/launcher#1631 is separate too). The data route (a definition) and how far it reads a kind are on Operator custom-resource components.

    Operator, release chosenGo typesDefinitionsTracker, as read 2026-12-04
    mariadb-operator 26.10.2MariaDB, Backup, PhysicalBackup, Restore, SqlJobDatabase, User, Grant, Connection, PointInTimeRecovery, and ExternalMariaDB (its spec.image carries a field marker)go-kure/launcher#1819 open; the Go types are in pull request go-kure/launcher#1826 (open); no pull request for the definitions yet
    VictoriaMetrics operator v0.76.0VMAgent, VMAlert, VMAlertmanager, VMSingle, VMCluster, VLCluster, VTCluster, VMAuth, VLSingle, VLAgent, VTSingle, VTAgent, and VMAlertmanagerConfig (a secret can sit under any key of its open nodes, which a marker cannot cover); a second tranche (VMAnomaly, VMEstimator, VMDistributed, VLDistributed) is read before it is builtVMRule, VMServiceScrape and VMPodScrape (shipped, decided 2026-11-28), VMNodeScrape, VMProbe, VMStaticScrape, VMScrapeConfig, and VMUser (spec.password and spec.bearerToken marked secret)go-kure/launcher#1820 open; VMSingle shipped (go-kure/launcher#1841), then VMAgent and VMAlert
    external-snapshotter v8.7.1noneVolumeSnapshot, VolumeSnapshotClass (the loader has to take a CRD with no spec)go-kure/launcher#1821 open; pull request go-kure/launcher#1846 (open)
    node-feature-discovery v0.20.1noneNodeFeatureRulego-kure/launcher#1822 open; no pull request yet

    Out: MaxScale (the MariaDB proxy, whose server is under a source-available licence); TopoLVM (the existing storageclass type is all it needs); the Velero kinds as a default (decided 2026-11-27, see the table above). Not decided, nothing built: MySQL, Valkey and Redis (the research is go-kure/launcher#1803).

  • Nothing is proposed as a built-in type for Grafana, Perses, Forecastle, Velero or the low-priority kinds of the survey’s list. They are by hand.

Models: Go lowering rules and configuration models

A configuration model expresses what CEL and the model format can: inputs and defaults, values computed from inputs, parts switched on by when, one part per list entry with forEach, names read from earlier parts, and nested models. The survey’s verdicts say what stays Go: the hash behind a restart on a config change, an order between two parts of one tier and hook phases, a config file serialised from structured settings, and a grant into each watched namespace.

ProposalWhy it fits that shape
The workload model is a configuration model with one mode input (service, worker or job).Its parts are existing types switched on by inputs. Restart on a config change can use the text in a pod annotation for a ConfigMap the model builds. The hash itself stays Go, so this part of the behaviour is partial.
The generic monitoring part is a configuration model part, and also a Go trait.A scrape and a rule are built from inputs (selector, port, path, interval, expression). Decided 2026-11-27: both forms exist (see Traits).
The generic backup part is a configuration model part.It only maps what to back up onto two existing types, and a model part can carry the volsync trait (see “What a model part can write” and Backups).
The S3 consume part is a configuration model.It writes a ConfigMap and an external secret or Secret from inputs, with a format switch (see S3 as a base offering). Creating a bucket is backend specific and is not a part of this model.

The workload model’s shape, decided 2026-11-27. Serge, typed and relayed 2026-11-27 23:42:27 CET: “(1) One workload model with a mode input / if we want the simpler model, the one model per mode can be built on top of 1”. So one workload model with a mode input (service, worker or job) is the base. A model per mode, if one is wanted, is a thin model built on top of it.

Existing Go lowering rules (webservice, worker, helm, postgresql, oci) are not taken as settled by the survey, and this page does not settle them. Serge’s answer of 2026-11-28 is that no existing Go type is converted for now (see “What a model part can write”).

Traits

A trait adds a capability to a component. Today the built-in traits are Go handlers, and expose is a Go lowering rule that picks an ingress or an httproute from the cluster profile.

  • Decided 2026-11-27: the generic monitoring part (VMServiceScrape, VMPodScrape, VMRule) lives in both places. Serge, typed and relayed 2026-11-27 23:05 CET: “3. Both.” It is a part of the workload model, and it is also a Go trait that a plain webservice or worker can take, because a model cannot carry a trait on its own component. As a trait it is Go code today.
    • Built (go-kure/launcher#1736): the monitoring trait. On a plain webservice or worker it writes a VMServiceScrape (a component with a Service) or a VMPodScrape, and a VMRule when rule groups are given. Its properties are named after the VictoriaMetrics field they fill: port, path, interval and rules (groups of rules with expr), with scrapeName and ruleName for the object names; the selector is the component’s own app label. The objects are written unstructured and held to the CRDs of operator release v0.76.0 by a test, so launcher takes no dependency on the operator’s Go module (measured on a copy of the tree: 63 more lines in go.mod and 947 in go.sum, from the VictoriaMetrics monorepo, VictoriaLogs and their dependencies). The trait raises no policy refusal, so it declares no boundedBy. Under an object kind policy that does not allow cluster-scoped objects these objects pass where launcher’s shipped definitions are loaded, because the object kind check reads the scope their pinned CRDs give the VictoriaMetrics kinds (go-kure/launcher#1744). That is a library caller that passes such a policy: kurel build passes none and runs no object kind check. The workload model’s monitoring part (go-kure/launcher#1737) follows this property shape; it is built, with the differences listed in the traits README.
  • Proposal: no S3 trait. S3 is a consume model, with creation backend specific (see S3 as a base offering).
  • Proposal: no dashboard trait (see above).
  • Decided 2026-11-28: a trait defined without Go is tracked, deferred until after GA at least, and not started. Serge, typed 2026-11-28 18:42 CET, answering whether launcher should get a way to define a trait without Go code: “have a ticket track this feature, take it into account when designing and coding related things, but refrain from starting any implementation now; the ticket should remain deferred post GA at least”. go-kure/launcher#102 is that ticket and the one tracker, with no successor issue.
    • A trait stays Go code for now. A configuration model and a ComponentDefinition stay component-only.
    • Related design and code take the feature into account. For example, a configuration model cannot state a boundedBy declaration on an input today (validateSchema in pkg/oam/model/load.go refuses it), so a future configuration trait needs a rule for deriving its bounds, and nothing built now should make such a rule impossible.
    • The shape to start from when the time comes, as go-kure/launcher#102 records it: a configuration trait built on the model engine, which adds objects and asks for built-in traits on its carrier. A generic patch format is not proposed, because it would reopen every policy check.

What a model part can write

Read from the code and tried with a model in a local test on 2026-11-27.

  • A kind that only a generic-route definition declares: yes. A model part names its type, and that type must be declared when the model registers. Registering a definition declares the kind’s identity (<kind>.<group>@<version>, such as vmrule.operator.victoriametrics.com@v1beta1) so that a model can name it. kurel build loads definitions before models. A model whose part named such a kind built the object in the test, and the same model with no definition was refused at registration. So the generic monitoring part needs no built-in type for VMServiceScrape, VMPodScrape or VMRule.
    • The test used the CRDs of the VictoriaMetrics operator as they stand on its default branch on 2026-11-27, not a release. The loader accepts the CRDs of all three kinds, and a model with a scrape part and a rule part built a VMServiceScrape and a VMRule. It refuses VMAuth, because that CRD leaves its spec open. That reading was taken before the decision of 2026-12-03, which makes the instance kinds Go types (see “Base kinds”).
    • Not tried: the CRDs’ own CEL rules, which the loader does not evaluate, and a CRD pinned to a release.
  • Decided 2026-11-28: a definition and a model reach a user shipped in the binary. Serge, typed about 00:09 CET and relayed: “shipped in the binary, but ned to confirm / - the list of whet gets built / - what in golang and what as config model”. How loading worked before go-kure/launcher#1735: launcher loaded definitions only from the application’s definitions/ directory, and models only from its models/ directory and --model files. Nothing was embedded in the binary then, so every “Include” row that is a model, and the pinned CRDs a monitoring part needs, waited for the embedding. go-kure/launcher#1735 builds it (pkg/oam/shipped): kurel build registers the shipped definitions, then the shipped models, then the application’s own. The first content is VMServiceScrape, VMPodScrape and VMRule, each pinned to the VictoriaMetrics operator release v0.76.0, not the default branch. The first model is workload@v1 (go-kure/launcher#1737).
  • Decided 2026-11-28: the list of what gets built, and what is Go and what is a configuration model. Serge, typed and relayed about 00:24 CET, answered “yes” to: “Do you confirm the call 6 list as sent, with no conversion of existing Go types for now?” The list:
    • Go code: the mechanism that ships built-in definitions and models in the binary (go-kure/launcher#1735), and a monitoring trait (go-kure/launcher#1736).
    • Definitions, no Go: VMServiceScrape, VMPodScrape and VMRule, each with its CRD pinned to an operator release (go-kure/launcher#1735).
    • Configuration models: the workload model with its monitoring and backup parts (go-kure/launcher#1737, built as workload@v1; the database backup is the postgresql component’s backup property, because only that component writes the plugin entry the Cluster needs, and the volume backup is the volsync trait on a carrier part); the S3 access model (go-kure/launcher#1738); the data store model (low priority; one generic configuration model for a replicated stateful store, go-kure/launcher#1755, built as datastore@v1; a config change rolls the pods only through its restartToken input, because the hash stays Go); thin per-mode models only if wanted.
    • No existing Go type is converted for now. A definition over a resource that runs pods carries policy limits only on the pod spec nodes it lists in spec.podSpecs or its CRD shows (go-kure/launcher#1833) and the fields it lists in spec.markers (go-kure/launcher#1818); with none listed or shown, the policy check passes the resource whatever it holds, provided the definition states the marker classes the policy bounds (spec.markerClasses; NoopPolicy bounds image and hostPath, so a definition that states none is refused under NoopPolicy, which a build with no policy uses), and a listed path to a node that is not shaped as a pod spec is refused at build, never read wrongly (go-kure/launcher#1705; pkg/oam/builtin/components/passthrough.go, the ApplyPolicy comment). A component of a model type cannot carry a trait (pkg/oam/model/README.md, “Traits on a model component are not supported”).
  • Decided 2026-11-28: a name clash is refused. Serge, typed and relayed about 00:26 CET, answered “refused” to: “when an application’s definition has the same name as a built-in one, should the clash be refused (the lead’s recommendation), yes or no?” So an application’s own definition or model that names a shipped type is refused, and a shipped type is never replaced silently.
  • The volsync trait from a model part: yes. See Backups.

Sources for these answers

Read at commit ed8e2365 on 2026-11-27; the line numbers belong to that commit.

  • A part’s type must be declared when the model registers: pkg/oam/model/registry.go:66-69.
  • A definition declares <kind>.<group>@<version> so a model can name it: pkg/oam/definition/definition.go:203 and :333-371, and pkg/oam/definition/README.md:24.
  • Definitions load before models: pkg/cmd/kurel/build.go:155-163.
  • Where definitions and models load from: pkg/cmd/kurel/definitions.go:45-49, pkg/cmd/kurel/models.go:34-40, pkg/cmd/kurel/README.md:303 and :394-398. No Go file in the repository has a go:embed or an embed.FS (searched on 2026-11-27).
  • A CRD with an open spec is refused: pkg/oam/definition/definition.go:196-199.
  • A part carries traits: pkg/oam/model/types.go:62-77, pkg/oam/model/expand.go:420-425, pkg/oam/model/registry.go:77-81, and pkg/oam/model/rule.go:39-43 (the trait is checked like an authored one). A part reads only an earlier part: pkg/oam/model/README.md:65. A trait on a component of a model type is refused: pkg/oam/model/traits.go:8-26.
  • The volsync trait: pkg/oam/builtin/traits/volsync.go:34-43 (properties), :90-103 (sourcePVC and schedule required), :114 (default Secret name), :225-266 (the ReplicationSource). The Secret is referenced and never built: pkg/oam/builtin/traits/README.md, the volsync row of the name table.

Local experiments, run with go test in pkg/oam/model and not committed:

  1. The definition examples/custom-component/definitions/batchjob.yaml and a model with one part of its type built a BatchJob. The same model with no definition was refused at registration with “no registered type is named”.
  2. The operator’s CRD bundle was split into one file per kind and each file was pinned by digest in a generated definition. The loader accepted 24 of the 27 kinds. It refused VMAuth, as stated above, and two more kinds that also leave their spec open. A model with a scrape part and a rule part over two of the definitions built a VMServiceScrape and a VMRule.
  3. A model with a persistentvolumeclaim part and a later deployment.apps part carrying volsync built the claim and its ReplicationSource. The same trait on the claim’s own part was refused at registration. A claim part with its own name was built as orders-orders-data, so a sourcePVC of orders-data named no claim.

No assumption was left except the source of the CRDs: the operator’s default branch, not a release. The shipped definitions pin release v0.76.0 (go-kure/launcher#1735).

Monitoring in particular

The rule

Serge, 2026-11-27: VictoriaMetrics is the supported backend. Prometheus Operator objects are considered only where the VictoriaMetrics operator accepts them, for example scrape objects it converts and that can work with VictoriaMetrics. launcher supports no native Prometheus backend and has no intention to.

Which objects exist

GroupVictoriaMetrics kindsPrometheus Operator counterpart the VictoriaMetrics operator converts
ScrapeVMServiceScrape, VMPodScrape, VMScrapeConfig, VMProbe; VMNodeScrape and VMStaticScrape have no counterpart and are never created by conversionServiceMonitor, PodMonitor, ScrapeConfig, Probe
RuleVMRulePrometheusRule
Alerting configurationVMAlertmanagerConfigAlertmanagerConfig (named by the VictoriaMetrics page’s intro; the page’s default list does not name it)
Instance (runs pods)VMAgent, VMAlert, VMAlertmanager, VMSingle, VMCluster, VMAuthnone named by the page: Prometheus, Alertmanager, ThanosRuler and PrometheusAgent are not converted
Dashboardnone (a Grafana or Perses kind, or a labelled ConfigMap)none

Source: the VictoriaMetrics operator’s page on Prometheus integration, read on 2026-11-27. By default the operator converts ServiceMonitor, PodMonitor, PrometheusRule, Probe and ScrapeConfig; the page does not say whether AlertmanagerConfig conversion is on by default. The operator does not ship the Prometheus Operator CRDs, so they must be installed for the conversion to work.

What combines and what does not (proposals)

Combine or notProposalReason
Scrape and rule, in one generic partCombineThey attach to one workload and share its selector and port. One part says “watch this, alert on that”.
Scrape and rule with an instance kindDo not combineAn instance kind runs pods and needs a Go type for its pod settings (a definition’s podSpecs, listed or recognized from the CRD, reads only pod-spec-shaped nodes, go-kure/launcher#1705, go-kure/launcher#1833). A workload does not own the cluster’s monitoring stack.
The generic part with the alerting configurationDo not combineAlert routing is the cluster’s policy, not application content. It stays a kind by hand.
The generic part with dashboardsDo not combineThe content is too different to share a form.
The generic part with the converted Prometheus Operator kindsDo not choose between themThe part writes VictoriaMetrics kinds. A user who writes ServiceMonitor by hand gets conversion only if the conversion is on and the CRDs are installed; the infra component turns it on (decided 2026-11-28, see below).

Conversion of Prometheus Operator kinds, decided

Decided 2026-11-28. Serge’s input, typed about 23:48 CET on 2026-11-27 and relayed: “How does that conversion work exactly? / note: for cases where helm charts only set prometheus kinds, the conversion would be helpful, and setting it by default would be recommended, though that setting is part of the infracomponent configuration, which should then not be (aloowed to be ) overruled”. His answer, typed 2026-11-28 00:05:32 CET and relayed: “5 OK”. The reading he accepted:

  • The conversion is a setting of the VictoriaMetrics infra component, in the infra component definition of the cluster. It is not launcher work, and nothing changes in launcher.
  • That component carries the Prometheus Operator CRDs, with conversion on and owner references on, and a user cannot override that setting.
  • Deleting a Prometheus object must not block Flux, so the CRDs and the operator outlive the objects that use them.
  • How launcher handles the conversion is out of scope.

So a chart that sets only the convertible kinds (ServiceMonitor, PodMonitor, PrometheusRule, Probe, ScrapeConfig) gets VictoriaMetrics objects through the conversion, and a hand-written object of one of those kinds can be relied on in a cluster that follows this definition. The instance objects themselves (Prometheus, Alertmanager, ThanosRuler) are not converted.

What the existing Prometheus Operator types become

The components README lists 7 built-in Prometheus Operator types: alertmanager, podmonitor, prometheus, prometheus-probe, prometheusrule, servicemonitor and thanosruler. Under the rule, the four whose kinds the VictoriaMetrics operator converts (podmonitor, prometheus-probe, prometheusrule, servicemonitor) stay as kinds a user writes by hand. The other three (alertmanager, prometheus, thanosruler) are instance kinds.

Decided 2026-11-27. Serge, typed and relayed 2026-11-27 23:01 CET: “1. Keep all seven. Users are still able to use them if they like”. So all seven stay as hand-written built-in types, the three instance kinds included. Launcher still has no native Prometheus backend, and no part lowers to any of them.

Backups, as decided

Decided on 2026-11-27 (KL-backup-default-1, answered 2026-11-27 18:24 CET): a generic backup part lowers to CloudNativePG for a database and to VolSync for a volume. Both are built in, so no new kind is needed. Velero is not a default target, and its kinds stay by hand through the generic route. Backup of objects is not needed where every object comes from git, and a whole-cluster (etcd) backup belongs to the cluster platform. The reasons are on the survey page, section Monitoring and backup, generically.

The volume backup can be written from a model, with no Go lowering rule. A model part can carry traits, and a trait a model writes is checked like one written in a document. In a local test (2026-11-27), a model with a persistentvolumeclaim part, followed by a deployment.apps part that carries the volsync trait with sourcePVC: ${ parts.claim.name } and a schedule, built the claim and a ReplicationSource for it. Three rules for such a part:

  1. Put the trait on a part that comes after the claim’s part. A part reads only an earlier part, so a trait on the claim’s own part cannot read the claim’s name. The model is refused when it registers.
  2. Read the claim’s name from parts.<id>.name. The claim is named <component>-<part name>, so the bare part name (or a name the part sets itself) leaves out the component prefix and points at no claim. A full name typed by hand matches today and breaks with the naming.
  3. The restic repository Secret is referenced and never built. The part takes its name as an input, or the model builds the Secret as a part. Its default name comes from the component that carries the trait.

The limit stated above still holds: a trait on a component of a model type is refused, so the backup is a part of the model and not a trait on the model’s own component.

S3 as a base offering

Decided 2026-11-27 (Serge, typed and relayed: his design input at 23:21 CET, his answer at 23:35 CET). S3 is a base offering, and it is two separate concerns. His design input:

We should make the distinction between / - creating a bucket (which makes sense for the selfhosted garage, but not for 3rd party buckets, unless there exists some operator that does that) / - consuming a bucket (define a configmap and or secret with how to use a bucket, possibly in different forms depending on what the consuming application needs); s3 is s3 and access and auth is the same regardless of which s3 it is, so a generic form does not make any more sense here / if we use some garage operator, both can probably be manged by the operator

His answer, to the reading of that input and to the research: “1. yes your reading is right / 2. yes research / creating what is needed to consume a bucket (cm, external-secret) could be a higher level model that creates those, with an optional switch of what format if should have”.

So:

  • Create is backend specific. It makes sense for a self-hosted Garage, and for a provider only where an operator creates buckets. It is not a generic part.
  • Consume has one form for every S3: a configuration model that writes a ConfigMap and an external secret or Secret, with an optional switch for the output format.

Do not confuse the bucket component with either. It is Flux’s source.toolkit.fluxcd.io Bucket, a reader of a bucket that already exists, and it creates nothing (components README, the bucket row).

Create, self-hosted: Garage

Garage (Deuxfleurs) is the self-hosting candidate. It has no official operator. Two community operators exist, and both manage a bucket and the access to it, as Serge supposed. The facts below were read on 2026-11-28 from each repository and its README. They are not a recommendation: each project has one main contributor (see the Contributors row), and the choice is Serge’s.

Deuxfleurs/garage pull request 994 (git.deuxfleurs.fr), merged 2025-05-22, adds a GarageNode CRD to Garage’s own repository, with a cookbook page and a kustomization. It adds no other CRD. Read 2026-11-28 from the forge API and the pull request’s diff; the rest of the repository was not read for CRDs.

rajsinghtech/garage-operatorbmarinov/garage-storage-controller
Repositorygithub.com/rajsinghtech/garage-operatorgithub.com/bmarinov/garage-storage-controller
Contributorsone main contributor, its owner (267 commits); no other person has more than 23one contributor (104 commits)
LicenceApache-2.0Apache-2.0
Last releasev0.9.5, 2026-12-02 (v0.9.3 when first read, 2026-11-25)v0.5.4, 2026-10-20
Activitycreated 2026-01-15; last push 2026-11-26; 280 stars; 3 open issuescreated 2025-12-01; last push 2026-10-20; 14 stars; 21 open issues
Maturity as statednot stated in the README“beta”; its CRDs “are still alpha”
BucketGarageBucket (garage.rajsingh.info/v1beta1): quotas, website hostingBucket (garage.getclustered.net/v1alpha1): name, maximum size, import of an existing bucket
AccessGarageKey: per-bucket read, write, owner, or allBuckets; imports an existing keyAccessKey plus AccessPolicy (read, write, owner)
What it writes for a consumera Secret shaped by secretTemplate: key names, endpoint, region, an optional AWS credentials filea ConfigMap (bucket-name, s3-endpoint) and a Secret (access-key-id, secret-access-key)
Also doesthe Garage cluster itself (GarageCluster, GarageNode), admin tokens (GarageAdminToken), cross-namespace grants (GarageReferenceGrant), bucket replication between Garage clusters (GarageReplication, off by default), a management handle over an existing Garage, an optional COSI drivernothing else: it needs a running Garage and its admin token
Needs Garagev2.0.0 or newer (it drives the admin API v2 only)the admin API v2 (/v2/CreateBucket, /v2/CreateKey, /v2/AllowBucketKey and others)

Sources: both READMEs, and the GitHub API for licence, releases, stars, issues and contributors (bots excluded), read 2026-11-28. Only the “Last release” and “Also does” rows were corrected on 2026-12-02 from the live test below; the other rows, the Activity row included, are the 2026-11-28 reading.

Fallback if no operator is usable. Garage’s own admin API, version v2 as of Garage v2.6.0 (released 2026-11-24), creates the bucket (CreateBucket), the key (CreateKey, ImportKey), the grant (AllowBucketKey, DenyBucketKey) and the quota and website settings (UpdateBucket). Source: the API specification at tag v2.6.0, doc/api/garage-admin-v2.json, read 2026-11-28. Calling it from a Job would need code that launcher does not have today.

Whether either operator runs in production was not researched.

Hands-on test of both operators

Tested on 2026-12-02 in a throwaway one-node Talos cluster in Docker, which was destroyed afterwards. This test replaces the source-only reading above for the points it covers. The two comparison rows above that name versions and CRDs were corrected from it.

Result in short. Both operators create a bucket and a key, give the key read, write or owner access, and write a Secret that a consumer can use. In round trips with a real S3 client the access rules held for both, and the object-count quota (and, for rajsinghtech, the size quota) refused writes past the limit; the bmarinov size quota was only read back from Garage, not hit by a write. They differ in size and in how much they check:

  • rajsinghtech/garage-operator has seven CRDs, runs the Garage cluster too, and validates a lot at admission. It put a hand-changed quota back in under 40 seconds. It refuses to delete a non-empty bucket. It needs cert-manager for its webhooks, and replication and Ingress are off until started with a flag.
  • bmarinov/garage-storage-controller has three CRDs and does only buckets, keys and grants. It never deletes a Garage bucket. It does not notice that Garage lost all its buckets: its objects stayed Ready and nothing was recreated. A namespace must be enrolled with its own Role and RoleBinding, and in an unenrolled one it still creates the Garage bucket before it fails.

Recommendation (the choice stays with the owner of go-kure/launcher#1781). Keep answer C: neither operator is needed for the s3-access model, which only consumes a bucket and a key, and a user can pin either operator’s CRDs through the generic route. If a built-in create kind is wanted later, rajsinghtech/garage-operator is the better base: one Secret with configurable key names (so the plain, aws-env and credentials-file formats need no second object), drift correction, and clear refusal texts. The costs are its single maintainer, a new release every few days (v0.9.3 on 2026-11-25, v0.9.5 on 2026-12-02), three versions of GarageCluster, and the cert-manager dependency. bmarinov/garage-storage-controller is the smaller choice, but its ConfigMap and Secret pair, its random bucket-name suffix and its missing health re-check would need work in launcher.

What was tested and how
  • Versions, pinned by tag and file digest: rajsinghtech/garage-operator v0.9.5 (install.yaml, sha256 190a14c0…, cut to 8 characters), bmarinov/garage-storage-controller v0.5.4 (crds-v0.5.4.yaml, sha256 f268b88c…, and chart 0.4.2, sha256 91ba7a45…; the chart is older than the app, and the Deployment runs the v0.5.4 image), cert-manager v1.21.3, Garage v2.6.0.
  • Each operator ran against its own Garage in its own namespaces. For the bmarinov controller the Garage was a single hand-made StatefulSet. The rajsinghtech operator made its own Garage clusters, about 35 of them.
  • 112 cases were planned, one per setting of each CRD (the Garage cluster and node CRDs: one per setting that Garage can show, plus one combined case per group of plain Kubernetes pod fields). 95 cases ran. 17 did not (list at the end).
  • A case counts as works when the setting reached Garage or Kubernetes as declared and an S3 round trip, garage CLI read or object read showed it. Fails means the operator or its admission webhook refused it or it ended in a failed state; the refusal text is given. Not testable here means the test cluster could not show the effect.
  • Evidence. Every result below comes from the author’s own run of 2026-12-02: one record per case (id, verdict, note) and the raw command output behind it. Those records are not stored in this repository, so a reader cannot re-check a row from the repository alone; treat the rows as a report of one run, not as cited sources. The versions and digests above identify what was tested; the case manifests are not in the repository either.
  • Judged by the object’s status and conditions, Garage’s own view (garage bucket info, key info, layout show), the generated garage.toml, and S3 calls with the generated keys.
rajsinghtech/garage-operator: seven CRDs

Served versions: GarageCluster v1alpha1, v1beta1, v1beta2; GarageBucket v1alpha1, v1beta1; GarageKey, GarageNode, GarageAdminToken, GarageReferenceGrant, GarageReplication v1beta1 (the other served versions are empty stubs).

GarageBucket

SettingResult
globalAliasworks. If empty, the operator adds the object name as an alias (an adopted bucket got two aliases).
localAliasesworks with a gap: the alias exists but gives the key no access until the key is granted on the bucket.
quotas (maxSize, maxObjects)works: both refused writes past the limit; status size and object counts stay empty for a while.
websiteworks: index and error document served by the web port.
websiteExposure (ingress, gateway, hostnames, backendRef)not testable as shipped: ingress is off unless the operator runs with --enable-ingress, and gateway needs --enable-gateway-api and the Gateway API CRDs (not installed here, so the gateway form was never run). After enabling it, the bucket’s condition still read “disabled” at the last read; the admin-UI Ingress of the cluster did work.
keyPermissionsworks: read, read+write and owner grants shown in Garage. A key and a bucket that name each other leave the bucket Failed for about a minute, then it recovers.
lifecycleworks: rules (prefix, size filters, abort-multipart, disabled rule) read back over S3 with an owner key. Garage’s Admin API returns none, so S3 is the read path.
bucketIdworks: adopts a bucket made by hand, no duplicate.
deletionPolicyworks: Retain leaves the bucket; Delete removes an empty bucket and blocks a non-empty one with DeletionBlocked (“never empties buckets automatically”).
clusterRef (other namespace)works only with a grant; without one admission refuses. kubeConfigSecretRef: not tested.
v1alpha1works: converted, with a deprecation warning that v1alpha1 drops v1beta1-only fields on update.

GarageKey

SettingResult
nameworks.
permissions.createBucketworks: S3 CreateBucket is refused without it. The bucket it makes belongs to that key only (a local alias), not to the operator.
bucketPermissions (bucketRef, bucketId, globalAlias; read, write, owner)works for all three ways of naming the bucket.
allBucketsworks: cluster-wide key, also reaches buckets made later. Across namespaces it is refused unless the grant has bucketScope: Cluster.
importKey (inline, or secretRef with custom key names)works; the inline form warns that the secret then sits in the object.
expiresAt, neverExpiresworks: Garage refuses the key after expiry; the object stays Ready and says nothing. Both together are refused at admission.
secretTemplate (name, type, labels, annotations, key names, include*, additionalData)works. Default Secret keys: access-key-id, secret-access-key, endpoint (the full URL), host, region, scheme. includeWebsiteUrl wrote no key. includeCredentialsFile writes a credentials file with a chosen key and profile name.
clusterRef.kubeConfigSecretRefnot tested.
deleteworks: the Garage key and the Secret go.

GarageAdminToken: works only when a GarageCluster names the token’s Secret in spec.admin.adminTokenSecretRef; then the Secret holds admin-token and admin-endpoint (key names changeable with secretTemplate) and the token works against the Admin API (200; a wrong token 403). neverExpires works. expiresAt is refused at admission (“unsupported for static bootstrap material”), although the CRD has the field. A token that no cluster consumes ends Failed.

GarageReferenceGrant: works. from by namespace, by namespaceSelector (labels and expressions) and for the kinds GarageKey, GarageBucket, GarageAdminToken, GarageReplication; one from kind per grant entry (a grant for keys does not admit buckets). to with bucketScope: Referenced (default) or Cluster, which warns that it reaches other tenants’ buckets.

GarageReplication: works after two steps the docs do not make obvious: start the operator with --enable-replication, and label the credentials Secrets garage.rajsingh.info/replication-credentials=true. Then:

SettingResult
mode Copyworks: 4 B and 5 MiB objects copied to the second Garage by a Job running rclone 1.76.0. The operator creates the Jobs itself, there is no CronJob. A run starts on the schedule or when the annotation garage.rajsingh.info/trigger-sync is set.
mode Mirror, mirror.maxDeletes, maxDeleteSizeworks as a safety stop: with maxDeletes: 1 and two stray objects, one was deleted, the second refused, and the object stays held (SafetyHold) until the annotation is set. Size strings need K, M, G or T (“1Mi” is refused, “1M” is accepted).
verification: Checkworks (rclone check after the copy; a failing check was not built).
transferworks: the values reach the Job as environment variables and rclone flags.
retry, history limits, schedulework as accepted settings; an unreachable endpoint failed the Job with the reason TransferErrors (not “unreachable”), after three rclone attempts inside one Job.
podTemplate, resourcesworks.
suspendaccepted; the “suspended” run case was not built, because one destination bucket may be written by only one replication.
source / destination by endpoint url, region and custom credential key namesnot tested.

GarageCluster (v1beta2 unless said; about 35 clusters made, almost all started in under a minute)

SettingResult
replication (factor, consistencyMode, zoneRedundancyMode, zoneRedundancyMinZones)works: all three consistency modes start (“dangerous” warns). AtLeast with min zones 1 is accepted, but layout show still reads “maximum”. Min zones above the factor is refused.
database (lmdb with map size, sqlite, fjall with cache size)works on Garage v2.6.0.
blocks (size, RAM buffer, concurrent reads and writes, compression, scrub, local time zone)works, all in garage.toml.
s3Api, webApi, k2vApi (ports, region, root domain, public endpoint)works: ports answer, the Service ports follow. webApi.scheme showed no effect.
admin (port, metricsRequireToken, traceSink)works: metrics need the token. admin.webUI.ingress works with --enable-ingress.
layoutPolicy Manualfails: the cluster stays Pending with no pods and no condition names the policy.
layoutManagementsiteRole: Follower without remoteClusters is refused; the other fields were accepted; their effects need several nodes (not testable on one).
zone, zoneFrom, defaultNodeTagsworks; zoneFrom with a missing node label silently gives zone default.
network (ports, timeouts, rpcSecretRef, service type, annotations, labels)works.
logging, workersworks: logging becomes RUST_LOG and two env switches; workers are set through Garage’s worker settings.
maintenance.suspendedworks: no objects are made while it is set.
monitoringworks with a gap: with no ServiceMonitor CRD, nothing is made and nothing says so.
discovery.kubernetesworks (config block, with a warning about RBAC); discovery.consul not testable (no Consul).
image, imagePullPolicy, imagePullSecretsworks.
publicEndpointNodePort and LoadBalancer work. Headless and ExternalIP are in the CRD but refused at admission.
storage (PVC size, class, access modes, labels, annotations, retention policy)works. The fsync and metadata snapshot settings were not run. Deleting a cluster with deletionPolicy: Destroy left the PVCs bound a minute later. Drain without remoteClusters is refused. Not tested: volumeClaimTemplateSpec, selector, dataSourceRef, volumeAttributesClassName, paths, nodeLocalPools.
gatewaynot testable here: the gateway pod waited for a PVC and the test cluster had no default StorageClass.
Pod fields as one group each: scheduling (affinity, node selector, tolerations, spread, priority class, PDB), security contexts, extra containers, init containers, volumes, env and envFrom (empty prefix refused), labels, annotations, resources, serviceAccountNameworks. A missing service account leaves the cluster Pending, and only a StatefulSet event says why.
security.tls, remoteClusters, connectTonot tested.
v1beta1works: converted, with scheduling fields moved under storage; without storage.metadata it is refused.

GarageNode: the operator creates one per pod and keeps it Ready (zone, capacity from the cluster settings; capacityReservePercent lowers the node capacity). Making nodes by hand (tags, capacity, gateway, external, nodeId, zoneFrom, node-local pools, pod fields) was not run.

Across CRDs: admission refuses cross-namespace references without a grant, one writer per replication destination bucket, and several illegal combinations (texts above). The operator corrected a quota changed by hand within 40 seconds. A restart kept every bucket and key (ids unchanged). A cluster pointing at a missing admin-token Secret ends Failed with a clear message. The pod restarted once at first start, before its webhook certificate was ready.

bmarinov/garage-storage-controller: three CRDs, all v1alpha1
CRD and settingResult
Bucket.spec.nameworks: the Garage bucket gets that name plus a random suffix; a ConfigMap with bucket-name and s3-endpoint is written.
Bucket.spec.maxSize, maxObjectsworks: shown in Garage; the object limit refused the fourth write (size limit not hit by a write).
Bucket.spec.existingBucket (name, ownerKeySecret)works: adopts the bucket, no duplicate. Together with name it is refused (“exactly one of spec.name or spec.existingBucket”).
Bucket.spec.configMapNameworks.
Bucket deleteworks as promised: the ConfigMap goes, the Garage bucket stays.
AccessKey.spec.secretNameworks: Secret with access-key-id and secret-access-key; deleting the key removes the Garage key and the Secret, and a policy bound to it stays failed (AccessKeyMissing, PolicyAssignmentFailed) until deleted.
AccessPolicy.spec.permissions (read, write, owner, alone and combined)works: each shows in Garage and in S3 (write-only can put but not get); an edit changes the grant; deleting the policy removes it.
Policy across namespacesworks as isolation: not admitted (“not found in namespace”); nothing granted.
Namespace enrolmentworks with a gap: in an unenrolled namespace the Garage bucket is still created, then ConfigMapAccessForbidden; the consumer never gets the name.
Garage lost its data (scaled to zero, back empty)works with a gap: objects stayed Ready and nothing was recreated.
Wrong API token, chart values other than the endpoints and existingSecretnot tested. The chart NOTES print an empty image tag.
Side by side
rajsinghtech/garage-operator v0.9.5bmarinov/garage-storage-controller v0.5.4
CRDs7, some with 3 versions3, one version
Garage settings reachablebucket aliases, quotas, website, lifecycle, key expiry and import, create-bucket right, grants, replication, whole clusterbucket name, quotas, import, key, grants
What a consumer getsone Secret: access-key-id, secret-access-key, endpoint (URL), host, region, scheme; keys renamable, optional bucket name, credentials filea ConfigMap (bucket-name, s3-endpoint) and a Secret (access-key-id, secret-access-key), fixed names
Fit with the plain format of s3-accessaccess-key-id and secret-access-key match; endpoint is a URL; bucket-name only through includeBucketName (default key bucket)access-key-id, secret-access-key match; bucket-name match; the endpoint key is s3-endpoint and sits in the ConfigMap
DeletingRetain or Delete; a non-empty bucket blocksnever deletes a Garage bucket
Driftcorrected in under 40 snot tested for settings; an empty Garage was not noticed
Failuresclear conditions and refusal texts; some silent gaps (expired key still Ready, missing ServiceMonitor, bad zone label)clear conditions in most cases; objects do not re-check Garage
Install weightneeds cert-manager; webhooks; replication and Ingress off by defaultno webhooks; one Deployment; RBAC per namespace
Maintenanceone main contributor; releases every few daysone contributor; last release 2026-10-20
Not covered

17 planned cases did not run: GarageReplication endpoint-form source and destination (1); kubeConfigSecretRef on a bucket and on a key (2; one Kubernetes cluster only); GarageCluster TLS (1) and the federation case with remoteClusters and connectTo (1); the GarageNode objects made by hand (8); the operator with webhooks switched off (1); the COSI driver (1); the bmarinov controller with a wrong token (1) and with other chart values (1). Also not covered: more than one node, load, upgrades, and whether either operator runs in production.

Create, provider S3

Operators that create a bucket on a provider’s S3 exist. One line each, with no deep dive; read 2026-11-28.

  • AWS Controllers for Kubernetes S3 controller: AWS’s own controller, type Bucket, Apache-2.0, v1.16.0 (2026-11-10).
  • Crossplane provider-upjet-aws: AWS S3 resources through Crossplane, Apache-2.0, last push 2026-11-26.
  • Google Config Connector: Google’s own controller for Cloud Storage, Apache-2.0, last push 2026-11-27.
  • Azure Service Operator: Microsoft’s own controller for Azure storage, MIT, last push 2026-11-26.
  • Rook: ObjectBucketClaim over a Ceph object store, Apache-2.0, last push 2026-11-27.
  • COSI: the Kubernetes bucket claim API (v1alpha2), Apache-2.0, release v0.2.2 on 2025-12-08. A driver provides the backend; the rajsinghtech operator offers one for Garage.

None is proposed as a built-in type here. Each can go through the generic route once a user pins its CRD.

Consume: one model for every S3

Tally. Of the 27 application charts of the survey, 3 take S3 client settings in their default values (nextcloud, cnpg-cluster, velero), and 2 carry only a commented example (kube-prometheus-stack for Thanos, flux2 for a Flux Bucket). Chart 15 (minio) is the S3 server itself. Source: helm show values of each chart at the survey’s version, read 2026-11-28, nothing installed. The detector is a text match for s3, bucket and objectstore in the default values, so a chart that takes S3 settings in a free-form config block reads as none: treat the count as a floor.

Shapes in which an application takes S3 settings.

ShapeSeen inCount
Discrete values with the application’s own key names (access key, secret key, endpoint, region, bucket, path style)nextcloud (nextcloud.objectStore.s3), cnpg-cluster (backups.s3, recovery.s3)2 charts
A reference to an existing Secret, with the key names configurablenextcloud (secretKeys), CloudNativePG (s3Credentials: accessKeyId, secretAccessKey, region, sessionToken, each {name, key}), velero (credential: {name, key})3 charts
A credentials file inside one Secret keyvelero (the Secret key its credential names; the format of that content is not confirmed, see below); the rajsinghtech operator can write one0 charts confirmed
AWS-style environment variables as Secret keysthe VolSync restic Secret: RESTIC_REPOSITORY, RESTIC_PASSWORD, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY (VolSync restic documentation, read 2026-11-28)0 charts, 1 built-in user
A URL formCloudNativePG destinationPath (s3://bucket/path) with endpointURL; restic RESTIC_REPOSITORY; velero config.s3Url2 charts, 1 built-in user

The two built-in users. cnpg-objectstore references the credential keys of an existing Secret and never creates the bucket or the Secret (PostgreSQL backup and recovery, line 33 and the example at lines 70-72). The volsync trait references the restic Secret by name and never builds it (traits README, the volsync row). So today a user writes both Secrets by hand, in two different shapes. That is the gap a consume model closes.

Built: the s3-access model (go-kure/launcher#1738, shipped as s3-access.launcher.gokure.dev@v1). One configuration model, whatever S3 is behind it. Its inputs, routes and key names are in the shipped definitions and models; this page keeps the reasoning.

  • Inputs: endpoint, region, bucket, prefix, pathStyle, an optional CA Secret, where the credentials come from (an existing Secret, an ExternalSecret, or values the model writes as a Secret), and format.
  • Writes: a ConfigMap with the non-secret settings, and the credentials as an ExternalSecret or a Secret. The model’s parts are the configmap, externalsecret and secret kinds.
  • format sits inside the two routes that write the credentials, not at the top level as first proposed. The model cannot re-key a Secret it did not write, and re-shaping one through the External Secrets Operator is on the list below as not confirmed. So the existing-Secret route has no format, and a format beside it is refused rather than ignored.
  • format defaults to plain:
formatKeys written
plainaccess-key-id, secret-access-key, endpoint, bucket-name. The two Garage operators agree only on the first two key names: the endpoint key is endpoint in one and s3-endpoint in the other, and only one of them writes the bucket name by default (bmarinov: always, in the ConfigMap; rajsinghtech: only with includeBucketName, under the key bucket unless renamed)
aws-envAWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, AWS_ENDPOINT_URL_S3 (the last derived from the AWS SDK’s AWS_ENDPOINT_URL_<SERVICE> pattern, not printed there)
credentials-fileone key, credentials, holding an AWS shared credentials file
resticRESTIC_REPOSITORY, RESTIC_PASSWORD and the AWS key variables, for the volsync trait (RESTIC_PASSWORD is an input, required for this format)
barmanACCESS_KEY_ID and ACCESS_SECRET_KEY, the names the Barman Cloud plugin’s object store page uses for a cnpg-objectstore s3Credentials reference
customthe user names the two credential keys

Not built: a session token, and the Velero format (see below).

Policy. An environment policy that forbids explicit secrets (oam.ExplicitSecretPolicy, AllowExplicitSecrets() == false) refuses the Secret the values route writes with the class RefusalExplicitSecret (pkg/oam/policy.go, traits README, “The secret trait”). So the plain-key route is a choice a policy can close, and the ExternalSecret and existing-Secret routes stay open. That policy does not touch configmap or externalsecret.

Not confirmed

None of these is a fact on this page.

  • The bucket CRD names of the Crossplane, Config Connector and Azure Service Operator routes.
  • The content format of the credentials Secret that Velero reads.
  • Whether the External Secrets Operator can read a Secret that a Garage operator created, so that the consume model could re-format it for another application.
  • Production use, and the upgrade record, of either Garage operator.

Questions of the first draft

None is open. Questions 1, 3, 4, 5 and 6 of the first draft were answered by Serge on 2026-11-27 and 2026-11-28 and are recorded in the sections above (the Prometheus Operator types, S3, the workload model, the conversion, and how definitions and models reach a user). He confirmed the list of what gets built, and which items are Go and which are configuration models, on 2026-11-28 (see “What a model part can write”). Question 2 was answered on 2026-11-28. Its number is kept so that earlier references still point at the same question.

  • Question 2: a trait defined without Go. Decided 2026-11-28. Does launcher want a way to define a trait without Go? The answer: a ticket tracks the feature (go-kure/launcher#102), it stays deferred until after GA at least, and no implementation starts. His words and what follows from them are under Traits. His answer on where a generic part lives (“3. Both.”) settled the monitoring part and did not address this.