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.
Provenienza
- Digest del contenuto
- sha256:2e7a6d4f7dae90daa89b92825de3a4a98bac215d18bce66f1fd3f16d6243295e
- Pubblicato
- 2026-11-10T10:22:58Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/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
Riferimento a questa versione
oci://hub.aggrega.ai/recipe/helm/datastore-query-knative:1.0.0- Destinazione
- —
- Implementa
- core/ai-tool/datastore-query:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
| Nome | Modello |
|---|---|
| host | {{ .context.instance_id }} |
| port | 80 |
| endpoint | http://{{ .context.instance_id }} |
| protocol | http |
Workload
Nessun modello di workload dichiarato.
Variabili locali
Nessuna variabile locale dichiarata.
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementacontratto compatibile
core/ai-tool/datastore-query:1.0.0
Tutti gli output obbligatori sono soddisfatti e ogni output fornito è nominato nel contratto.
Usato da
Nulla nel catalogo dipende da questa entità.