Skip to content

feat(kubernetes): support agent-sandbox v1beta1#2009

Open
TaylorMutch wants to merge 7 commits into
mainfrom
support-agent-sandbox-v1beta1
Open

feat(kubernetes): support agent-sandbox v1beta1#2009
TaylorMutch wants to merge 7 commits into
mainfrom
support-agent-sandbox-v1beta1

Conversation

@TaylorMutch

@TaylorMutch TaylorMutch commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

Support both Agent Sandbox agents.x-k8s.io/v1beta1 and agents.x-k8s.io/v1alpha1 APIs so OpenShell works with controller releases still used in the field.

Related Issue

Closes #2013

Changes

  • Detect the served Agent Sandbox API version and use v1beta1 with v1alpha1 fallback.
  • Accept Kubernetes service-account owner references from both v1beta1 and v1alpha1 Sandbox resources.
  • Update Kubernetes E2E coverage to run against both Agent Sandbox API generations.

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)

Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
@TaylorMutch TaylorMutch added the test:e2e Requires end-to-end coverage label Jun 25, 2026
@TaylorMutch TaylorMutch requested review from a team and derekwaynecarr as code owners June 25, 2026 23:33
@github-actions

Copy link
Copy Markdown

Label test:e2e applied for d0540b2. Open Branch E2E Checks, find the run for commit d0540b2, and click Re-run all jobs to execute with the label set. The run will execute the standard E2E suite after building the required gateway and supervisor images once. The matching required CI gate status on this PR will flip green automatically once the run finishes.

@github-actions

Copy link
Copy Markdown

Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Comment thread crates/openshell-driver-kubernetes/src/driver.rs Outdated
Comment thread crates/openshell-driver-kubernetes/src/driver.rs Outdated
Comment thread crates/openshell-driver-kubernetes/src/driver.rs Outdated
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
Signed-off-by: Taylor Mutch <taylormutch@gmail.com>
@TaylorMutch TaylorMutch requested a review from elezar June 26, 2026 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:e2e Requires end-to-end coverage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenShell 0.0.70 sandbox bootstrap failure: IssueSandboxToken rejects pods due to CRD API version mismatch

2 participants