Environment Configuration
Set the environment variable VAULTLY_SYNC_AGENT to
true:
export VAULTLY_SYNC_AGENT=true
The agent will detect this flag at startup and enable the sync workflow.
Synchronization Behavior
- The agent polls the Infiscal database at the interval configured in the agent’s settings.
- For every change detected (create, update, delete) the agent propagates the corresponding operation to the target Kubernetes cluster.
- The sync respects the namespace and secret names defined in the Infiscal configuration, keeping Kubernetes secrets in sync with the source database.
Deployment Context
Deploy the agent on the same host or container as the Infiscal server so it can access the Infiscal database directly.
Ensure the Kubernetes cluster credentials (service account, kubeconfig,
etc.) are available to the agent so it can perform CRUD operations on secrets.
Summary
In agent mode, when VAULTLY_SYNC_AGENT=true, Vaultly continuously polls
the Infiscal database and mirrors all secret changes (create, update, delete) into
the configured Kubernetes cluster.