chore(kubernetes): update Agent Sandbox to v1.0.3 (#3578)

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel
2026-09-23 18:30:24 +00:00
committed by GitHub
parent bed9e5eafc
commit a408f5dd08
10 changed files with 24 additions and 15 deletions
+9 -2
View File
@@ -6,7 +6,14 @@
# context arguments (for example, --context kind-e2e) as script arguments.
set -euo pipefail
agent_sandbox_version="${AGENT_SANDBOX_VERSION:-v0.5.0}"
agent_sandbox_version="${AGENT_SANDBOX_VERSION:-v1.0.3}"
# Agent Sandbox renamed its core release manifest after v0.5.1. Keep the
# v1alpha1 compatibility lane on the asset published with that release.
case "${agent_sandbox_version}" in
v0.[0-4].*|v0.5.[01]) agent_sandbox_manifest="manifest.yaml" ;;
*) agent_sandbox_manifest="sandbox.yaml" ;;
esac
wait_for_agent_sandbox_crd() {
local deadline
@@ -32,7 +39,7 @@ wait_for_agent_sandbox_crd() {
echo "Installing agent-sandbox CRDs and controller (${agent_sandbox_version})..."
agent_sandbox_base="https://github.com/kubernetes-sigs/agent-sandbox/releases/download/${agent_sandbox_version}"
kubectl "$@" apply -f "${agent_sandbox_base}/manifest.yaml"
kubectl "$@" apply -f "${agent_sandbox_base}/${agent_sandbox_manifest}"
wait_for_agent_sandbox_crd "$@"
kubectl "$@" -n agent-sandbox-system rollout status \
deployment/agent-sandbox-controller --timeout=300s
+1 -1
View File
@@ -75,7 +75,7 @@ source "${ROOT}/e2e/support/gateway-common.sh"
# Upstream agent-sandbox release. The Kubernetes driver supports the v1beta1
# Sandbox API introduced in v0.5.0 and falls back to v1alpha1 for v0.4.6
# clusters. Override this env var to exercise the v1alpha1 controller release.
AGENT_SANDBOX_VERSION="${AGENT_SANDBOX_VERSION:-v0.5.0}"
AGENT_SANDBOX_VERSION="${AGENT_SANDBOX_VERSION:-v1.0.3}"
e2e_preserve_mise_dirs
e2e_align_docker_host_with_cli_context