fix: enable mTLS, inference routing, and SSH session for Kind#3
Merged
Conversation
Comprehensive fixes for the compute driver to support the full OpenShell sandbox flow on Kind clusters: - Add TLS volume mounts (CA + client cert) for mTLS between sandbox and gateway, configured via --tls-ca-secret and --tls-client-secret flags - Set OPENSHELL_SSH_SOCKET_PATH for supervisor to spawn SSH server - Set OPENSHELL_TLS_CA/CERT/KEY env vars for gRPC TLS configuration - Set ANTHROPIC_BASE_URL=https://inference.local (no /v1 — SDK appends) - Set OPENAI_BASE_URL=https://inference.local/v1 - Set CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1 for LiteLLM compat - Add SSH handshake secret from gateway secrets (secretKeyRef) - Add kagenti.io/inject=disabled label to prevent authbridge sidecar injection on sandbox pods Signed-off-by: Paolo Dettori <paolo@dettori.dev> Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Paolo Dettori <dettori@us.ibm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ANTHROPIC_BASE_URL=https://inference.local,OPENAI_BASE_URL=https://inference.local/v1)kagenti.io/inject=disabledlabel to prevent authbridge webhook sidecar injectionCLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1for LiteLLM proxy compatibilityContext
The compute driver creates Sandbox CR pod specs. For the full OpenShell flow to work on Kind (gateway login → sandbox create → Claude Code), the pod needs:
Test plan
Generated with Claude Code