Recipe
datastore-query-knative
The datastore-query tool realized as a Knative Service the Knative Serving control plane reconciles. The recipe emits a single Service custom resource; the control plane turns it into a revision, admits an inbound call while that revision runs no replicas, and sets the replica count from the concurrency it observes, so the tool occupies no compute between the calls that invoke it. The replica floor and ceiling carry through as the revision's own scaling bounds. The store the tool queries arrives on the tool's datastore socket, and the recipe delivers that store's host and port — and the user and database name where the store publishes them — into the container alongside the developer's dialect, so the running tool addresses the store the topology resolved rather than one named in its own configuration; on such a connection a store served over TLS alone halts the build, naming it. A connection writing an `inject:` block receives instead the names it dictates, as variables or as files from a ConfigMap emitted beside the Service, and is not refused for TLS. provides is the addressable name the control plane gives the Service. The Knative Serving control plane is a runtime prerequisite: the build halts unless the operator affirms it is installed (infra.control_plane_present), so no custom resource is emitted into a cluster that cannot reconcile it. The component's own `inject:` block delivers its entries as a connection's are, and one reading a value of the tool alone replaces that value's default name.
Provenance
- Content digest
- sha256:2e7a6d4f7dae90daa89b92825de3a4a98bac215d18bce66f1fd3f16d6243295e
- Published
- 2026-11-10T10:22:58Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:8156ab0e83a41fd03721437b68120fa4a63af69bcf99c50b851adcd82fc1cedc
Reference at this version
oci://hub.aggrega.ai/recipe/helm/datastore-query-knative:1.0.0- Target
- —
- Implements
- core/ai-tool/datastore-query:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| host | {{ .context.instance_id }} |
| port | 80 |
| endpoint | http://{{ .context.instance_id }} |
| protocol | http |
Workload
No workload template declared.
Locals
No locals declared.
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/ai-tool/datastore-query:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.