Upgrading the OPA
The latest agent versions are available in the agent GitHub repository. Follow the instructions below to upgrade the agent based on your deployment method.
- Terraform
- Helm
- Docker
Bump the version tag on the superblocks_agent_image
variable in your agent's Terraform file.
AWS ECS Fargate
superblocks_agent_image = "ghcr.io/superblocksteam/agent:<VERSION>"
Google Cloud Run
superblocks_agent_image = "gcr.io/superblocks-registry/superblocks/agent:<VERSION>"
Fetch the latest chart.
helm repo update
Redeploy the chart.
helm upgrade -i -n superblocks superblocks-agent superblocks/superblocks-agent \
--create-namespace \
-f values.yaml \
--set superblocks.agentKey="<YOUR_AGENT_KEY>" \
Download the agent's latest Docker Compose file and redeploy. To specify a version, set SUPERBLOCKS_DOCKER_AGENT_TAG
. Otherwise the latest
version is used by default.
curl -s https://raw.githubusercontent.com/superblocksteam/agent/main/compose.yaml | \
SUPERBLOCKS_AGENT_KEY="<YOUR_AGENT_KEY>" \
SUPERBLOCKS_AGENT_HOST_URL="<YOUR_AGENT_URL>" \
SUPERBLOCKS_DOCKER_AGENT_TAG="<VERSION>" \
docker compose -p superblocks -f - up