TrueFoundryChangelog
Announcements
MigrationAI Deploy, PlatformAnnounced Jun 17, 2026

Moving to External Secrets Operator for Secrets Management

TrueFoundry now uses External Secrets Operator (ESO) to sync deployment secrets and image pull credentials on your compute plane.

Who's affected
AI Engineering customers who deploy services, jobs, notebooks, or workflows on compute plane clusters. If you only use AI Gateway, nothing changes.
What to do
Upgrade tfy-agent on every compute plane cluster before the control plane upgrade, label any separate cluster token secret, then redeploy apps that use secrets.
On-prem versions
Starts in 0.151.5Compare them with the control plane version you run.

What Is Changing

Before

Secret references (tfy-secret://...) in deployment specs were resolved to their actual values on the control plane, and those resolved values were embedded directly in the Kubernetes Secret objects within the ArgoCD Application manifests applied to your cluster. This meant the actual secret value ended up materialized in the Application YAML on the cluster — not ideal from a security standpoint. Updating a secret also required redeploying or re-syncing the application.

After

Starting with v0.151.5, TrueFoundry no longer puts secret values in the ArgoCD manifests. Instead, it adds an ExternalSecret custom resource to the deployment manifest. The External Secrets Operator (ESO) running on your cluster reads this resource, fetches the actual secret value from the control plane, and creates the Kubernetes Secret object locally.

Here's a simplified example of what the ExternalSecret resource looks like:

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
  name: my-app-image-pull-creds-external-secret
  labels:
    truefoundry.com/application: my-app
    truefoundry.com/component-type: service
spec:
  data:
    - remoteRef:
        key: tfy-image-pull-creds://<cluster>:<registry>
      secretKey: .dockerconfigjson
  refreshInterval: 1h
  secretStoreRef:
    kind: ClusterSecretStore
    name: tfy-agent-secret-store
  target:
    name: my-app-image-pull-secret
    template:
      type: kubernetes.io/dockerconfigjson

ESO understands this resource and fetches the actual secret from the control plane to create the Kubernetes Secret. Secrets are refreshed every 1 hour by default.

How External Secrets Operator (ESO) works

ESO is a Kubernetes operator that reads ExternalSecret custom resources and materializes them as standard K8s secret objects. TrueFoundry installs and configures ESO on your compute plane cluster through the tfy-agent Helm chart (version 0.2.95+).

ComponentScopeNamespaceRole
External Secrets Operator controllerClustertfy-agentWatches ExternalSecret resources and creates or updates K8s secret objects
ClusterSecretStore (tfy-secret-store)Cluster—Tells ESO how to reach the TrueFoundry control plane to resolve secret references
ExternalSecretPer applicationWorkload namespaceDeclares which TrueFoundry secret reference maps to which K8s secret object
K8s secret objectPer applicationWorkload namespaceThe in-cluster secret your Pods mount as env vars, volumes, or image pull credentials

The ClusterSecretStore uses a webhook provider that calls the TrueFoundry control plane:

{controlPlaneURL}/api/svc/v1/control-plane/secret?secret_ref={{ .remoteRef.key }}

The webhook authenticates using the cluster token stored in the tfy-agent token K8s secret object (CLUSTER_TOKEN key).

Affected workloads and secret types synced by ESO

Workload typeWhat is auto-synced
Service / Async ServiceEnvironment secrets, volume mounts, image pull credentials, and SQS autoscaling auth secrets
Job / Cron JobEnvironment and mount secrets, plus image pull credentials
Spark JobEnvironment and mount secrets, plus image pull credentials
WorkflowTask-level secrets and mounts
VolumeSecrets attached to volume operations
Workbench (Notebook, SSH Server)Environment and mount secrets
Alert ManagerNotification channel credentials (email, Slack, PagerDuty, and similar provider integrations)

Why This Change

  • Image pull secrets refresh automatically — Private registry credentials are also managed by ESO and refresh on the same interval, so updated registry tokens propagate without a full redeploy.
  • Single source of truth — Secret values are always resolved from the TrueFoundry control plane at runtime, matching the tfy-secret://... references in your deployment specs.
  • Standard Kubernetes pattern — ESO is the widely adopted operator for syncing external secrets into K8s. TrueFoundry manages its installation and configuration for you through tfy-agent.

What You Need to Do

  1. Upgrade tfy-agent on every compute plane cluster

    Update the tfy-agent Helm chart to version 0.2.95 or later on each compute plane cluster. This version includes the External Secrets Operator subchart and the ClusterSecretStore configuration. See the values reference for all available options.

    Verify ESO is running after the upgrade:

    kubectl get pods -n tfy-agent -l app.kubernetes.io/name=external-secrets
    kubectl get clustersecretstore tfy-secret-store
    

    The ClusterSecretStore should report a Ready status once the cluster token K8s secret object is configured correctly.

  2. Add the webhook label if you use an external cluster token secret

    If you pass the cluster token inline via config.clusterToken in the tfy-agent values file, the chart creates the token K8s secret object and adds the required label automatically when ESO is enabled. No action needed.

    If you store the cluster token in an existing K8s secret object referenced by config.clusterTokenSecret, you must add this label so ESO can use it as a webhook authentication source:

    metadata:
      labels:
        external-secrets.io/type: webhook
    

    The K8s secret object must contain a key named CLUSTER_TOKEN. Find the secret name in your tfy-agent values file under config.clusterTokenSecret.

    Example using kubectl:

    kubectl label secret <your-cluster-token-secret-name> \
      -n tfy-agent \
      external-secrets.io/type=webhook
    

    Replace <your-cluster-token-secret-name> with the value of config.clusterTokenSecret from your tfy-agent Helm values.

  3. Confirm ESO is enabled in tfy-agent values

    ESO is enabled by default. Confirm these settings in your tfy-agent values file (or rely on the defaults):

    external-secrets-operator:
      enabled: true
      clusterSecretStore:
        create: true
        name: tfy-secret-store
    

    See the full tfy-agent values reference for all available options.

  4. Redeploy or sync affected applications

    After tfy-agent is upgraded and the cluster token K8s secret object is labeled (if applicable), redeploy or sync applications that use secrets. New manifest generation produces ExternalSecret resources that ESO uses to manage K8s secret objects.

    You can verify on a running application:

    kubectl get externalsecret -n <workspace-namespace>
    
    kubectl get secret -n <workspace-namespace> -l app.kubernetes.io/managed-by=external-secrets
    

Configuration reference

For the complete list of ESO-related settings and their defaults, see the external-secrets-operator section of the tfy-agent values file.


If you have questions or run into issues during the migration, reach out to [email protected] — we're happy to help.

Questions about this change? Email [email protected].