Recipe
dify-ssrf-proxy
The Dify egress proxy on Kubernetes via the helm provider's Workload synthesis (a stateless Deployment plus a ClusterIP Service on the proxy port). The proxy caches in memory only and keeps nothing across a restart, so it renders stateless. The whole Squid configuration is emitted as a ConfigMap via artifacts: and mounted whole-directory, and the container is started against that file directly. Every value the configuration needs is resolved when the stack is compiled, so the rendered file is the final configuration rather than a template a container entrypoint has to expand at startup — which is what lets a reviewer read the effective access rules out of the manifest. The access rules are ordered so that the refusal comes before the permissions: any destination in private, loopback, link-local, shared-CGN or multicast address space is refused, and only then are the named domains and the calling workloads permitted. That ordering is the security property — a supplied address reaches the public internet and cannot reach the cluster's own services or the node's metadata endpoint — so a private range becomes reachable only by being named in allowed_private_networks, which renders ahead of the refusal. provides.host is the bare, self-contained in-cluster service name of the synthesized Service — it carries no namespace, so the recipe is independent of where it is deployed. A consumer in another namespace qualifies the host with the target namespace on its own side (caller-side routing).
Nguồn gốc
- Digest nội dung
- sha256:720e43530779d6a0f75996adc878c501e9892fa945b7c5ed386582ee5e4530df
- Đã xuất bản
- 2026-11-10T10:23:06Z
- 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:247a1012c683a7940613131fc636eda3f6803f783714de0892d8eb7219fcc43c
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/helm/dify-ssrf-proxy:1.0.0- Đích
- —
- Triển khai
- core/ai-agent/dify-ssrf-proxy: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.rendered_name }}-default |
| port | {{ .infra.port }} |
| protocol | http |
Workload
Workload · form: stateless · replicas: 1 · containers: main
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-agent/dify-ssrf-proxy: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.