tfy-sandbox-server

by TrueFoundry

Helm chartv0.3.4App 0.1.0-rc.1Verified publisher

Lightweight sandbox server for TrueFoundry AI agents — executes shell commands via HTTP API

About this chart

tfy-sandbox-server

Helm chart for deploying tfy-sandbox-server, a lightweight HTTP sandbox that executes shell commands for TrueFoundry AI agents.

Installation

helm install tfy-sandbox-server charts/tfy-sandbox-server

Integration with TrueFoundry LLM Gateway

Deploy this chart on the same cluster as the TrueFoundry LLM Gateway. Point the gateway to the sandbox server by setting the SANDBOX_SERVER_URL environment variable on the gateway to the internal service URL:

http://<release-name>-tfy-sandbox-server:8080

Parameters

Configuration values for tfy-sandbox-server

NameDescriptionValue
global.imagePullSecretsExisting truefoundry image pull secret name[]
global.image.registryGlobal image registry overridetfy.jfrog.io
global.namespaceOverrideNamespace override (defaults to .Release.Namespace if not set)""
global.affinityAffinity rules for pod scheduling on a node{}
global.labelsGlobal labels{}
global.annotationsGlobal annotations{}
global.podLabelsGlobal pod labels{}
global.podAnnotationsGlobal pod annotations{}
global.deploymentLabelsGlobal deployment labels{}
global.deploymentAnnotationsGlobal deployment annotations{}
global.serviceAnnotationsGlobal service annotations{}
global.serviceLabelsGlobal service labels{}
global.tolerationsTolerations for pod scheduling on a node[]
global.nodeSelectorNode selector{}
global.serviceAccount.nameService account name""
global.serviceAccount.labelsService account labels{}
global.serviceAccount.annotationsService account annotations{}
global.customCA.enabledBool to enable custom CA certificate injectionfalse
global.customCA.certificatePEM-encoded CA certificate to trust (paste the full certificate content here). Uses an initContainer to merge with system CAs.""
global.customCA.existingConfigMap.nameName of the existing ConfigMap""
global.customCA.existingConfigMap.overrideCAListWhen true, mounts ConfigMap directly at /etc/ssl/certs/ replacing the system CA bundle (no initContainer). The ConfigMap must contain the full CA bundle (system + custom CAs). When false, an initContainer merges the custom CA with system CAs.false
global.customCA.envAdditional environment variables to inject into the custom CA initContainer when customCA is enabled.{}
global.customCA.emptyDir.sslCerts.sizeLimitSize limit for the ssl-certs emptyDir volume""
global.customCA.securityContextSecurity context for the custom CA initContainer.{}
global.customCA.image.registryRegistry override for the CA certificates initContainer image (defaults to global.image.registry)""
global.customCA.image.repositoryRepository for the CA certificates initContainer imagetfy-mirror/alpine
global.customCA.image.tagTag for the CA certificates initContainer image3.21
nameOverrideName override""
fullnameOverrideFull name override""
commonLabelsCommon labels added to all resources{}
commonAnnotationsCommon annotations added to all resources{}
image.registryImage registry for tfy-sandbox-server (defaults to global.image.registry if not set)""
image.repositoryImage repository for tfy-sandbox-servertfy-images/tfy-sandbox-server
image.tagImage tag for tfy-sandbox-serverv0.3.4
imagePullPolicyImage pull policyIfNotPresent
imagePullSecretsImage pull secrets[]
sandbox.rootDirRoot directory for sandbox workspaces/data/sandboxes
persistence.enabledEnable persistent storage for sandbox datatrue
persistence.size

Deploy tfy-sandbox-server with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tfy-sandbox-server on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttfy-sandbox-server is pinned at v0.3.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply