Recipe
openapi-knative
The OpenAPI-driven 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 location of the OpenAPI document is delivered into the container, so the operations the tool offers are read from the specification the developer named rather than fixed by this recipe. An edge from the tool, on a socket the author names, delivers the names its `inject:` block dictates, as variables or as files from a ConfigMap emitted beside the Service. provides is the addressable name the control plane gives the Service, so a consumer wires to the tool's declared contract rather than to anything Knative-specific. 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.
Nguồn gốc
- Digest nội dung
- sha256:1f7593c109cc12f269c3257395e4ab5fd49f3b6bfcc1024c8db69f7cc1ba5014
- Đã xuất bản
- 2026-11-10T10:26:15Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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:c6a19f1ba64747fc285fb209c77f80a4732deee73ecfde8e542276d6ae8872b0
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/helm/openapi-knative:1.0.0- Đích
- —
- Triển khai
- core/ai-tool/openapi:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| host | {{ .context.instance_id }} |
| port | 80 |
| endpoint | http://{{ .context.instance_id }} |
| protocol | http |
Workload
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
Chưa khai báo giá trị cục bộ nào.
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/ai-tool/openapi:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.