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).
Asal-usul
- Digest konten
- sha256:720e43530779d6a0f75996adc878c501e9892fa945b7c5ed386582ee5e4530df
- Dipublikasikan
- 2026-11-10T10:23:06Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/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
Referensi pada versi ini
oci://hub.aggrega.ai/recipe/helm/dify-ssrf-proxy:1.0.0- Target
- —
- Mengimplementasikan
- core/ai-agent/dify-ssrf-proxy:1.0.0
Menyediakan
Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.
| Nama | Templat |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| protocol | http |
Workload
Workload · form: stateless · replicas: 1 · containers: main
Nilai lokal
Tidak ada nilai lokal yang dideklarasikan.
Pemetaan values
Tidak ada pemetaan values yang dideklarasikan.
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- mengimplementasikanmengimplementasikankontrak kompatibel
core/ai-agent/dify-ssrf-proxy:1.0.0
Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.