Repository navigation
RC1-2 follow-up polish (closes #98 items) - #99
Merged
Merged
Conversation
…e test, NO_PROXY doc, ECHO_CRED curls Addresses the remaining non-blocking follow-ups from rossoctl#98: - ab2-config.yaml: reword the config comment (mirrors the spike-verified forward proxy + adds judge_inference:true to match AB1's ibac), not a literal 'EXACT' copy. (M1) - echo-target.yaml: add a CPU limit + requests and readiness/liveness probes to the echo Deployment. (M3) - authbridge-manifests.test.ts: assert the sandbox container does NOT mount the creds secret (only the authbridge-ab2 sidecar does) — guards the secret-free invariant; + positive assert the sidecar mounts creds. (M4) - leaf-smoke.sh: H2 inject/deny curls now read the sandbox's own ECHO_CRED env (pod-side sh -c expansion) instead of a hardcoded placeholder literal. (M5) Live Kind re-gate: 16/16 leaf-smoke claims still pass with SH_AUTHBRIDGE=1. Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Paolo Dettori <[email protected]>
6 tasks
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.
RC1-2 follow-up polish (closes items in #98)
Small, non-blocking follow-ups from the RC1-2 (#97) review, now that RC1-1 (#96) and RC1-2 (#97) have merged. No behavior change to the AuthBridge path; all still gated behind
SH_AUTHBRIDGE.ab2-config.yaml— reword the config comment: it mirrors the spike-verified forward-proxy config and addsjudge_inference: trueto match AB1's ibac setup, rather than being a literal "EXACT" copy of the spike's minimal snippet. (M1)echo-target.yaml— add a CPU limit + CPU/memory requests and readiness/liveness probes (httpGet / :8080) to the echo Deployment. (M3)authbridge-manifests.test.ts— assert thesandboxcontainer does not mount thecredssecret (only theauthbridge-ab2sidecar may), guarding the secret-free invariant; plus a positive assert that the sidecar does mount it. (M4)leaf-smoke.sh— the H2 inject/deny curls now read the sandbox's ownECHO_CREDenv (pod-sidesh -cexpansion) instead of a hardcoded placeholder literal. (M5)Already handled and not in this PR: M2 (echo non-root
USER node) landed in #97; I2 (curl in the sharedsandbox.Dockerfile) was a documented design decision the review judged acceptable — no change.Verification
pnpm --filter @sh/knative-server test→ 95 passed (6 new assertions).SH_AUTHBRIDGE=1— the M3 echo probes roll out clean as non-root, and the M5$ECHO_CREDcurls drive H2-inject/deny successfully; H1 + standard claims unaffected.bash -n+shellcheckclean; basesandbox-pool.yamluntouched; flag-off path unchanged.Closes the actionable items in #98.
Assisted-By: Claude Code