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).
Provenienza
- Digest del contenuto
- sha256:720e43530779d6a0f75996adc878c501e9892fa945b7c5ed386582ee5e4530df
- Pubblicato
- 2026-11-10T10:23:06Z
- 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:247a1012c683a7940613131fc636eda3f6803f783714de0892d8eb7219fcc43c
Riferimento a questa versione
oci://hub.aggrega.ai/recipe/helm/dify-ssrf-proxy:1.0.0- Destinazione
- —
- Implementa
- core/ai-agent/dify-ssrf-proxy:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
| Nome | Modello |
|---|---|
| host | {{ .context.rendered_name }}-default |
| port | {{ .infra.port }} |
| protocol | http |
Workload
Workload · form: stateless · replicas: 1 · containers: main
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-agent/dify-ssrf-proxy: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à.