Docs: add AuthBridge two-hop egress-control demo (Kind + OCP)#108
Merged
Conversation
There was no demo doc for the RC1 AuthBridge/Cortex egress-control path: the runnable proof (leaf-smoke.sh on Kind, rc1-ocp-gate.sh on OCP) existed, but nothing walked a reader through the two-hop topology, how to enable it, or how to see credential injection + allow/deny control. README-kind.md/README-ocp.md don't mention SH_AUTHBRIDGE at all; serverless-harness-demo.md covers only scale-to-zero. Add deploy/knative/README-authbridge.md covering BOTH platforms: - the two hops (Profile A shared LLM gateway AB1; Profile B per-sandbox forward-proxy AB2) and the control-before-inject invariant; - Quick start for Kind (SH_AUTHBRIDGE=1 setup-kind.sh + leaf-smoke.sh) and OpenShift (SH_AUTHBRIDGE=1 setup-ocp.sh + rc1-ocp-gate.sh gate); - what it installs (AB1/AB2/ibac-stub/echo-target/secrets/tightened egress), the six capability claims with their PASS messages, and manual secret-free / allow / deny checks (spec §5, exact kubectl commands); - troubleshooting (incl. the OVN-K DNS 5353 fix kagenti#102 and the relay tsx fix) and cleanup/restore. Cross-linked from the Smoke test sections of README-kind.md and README-ocp.md. OCP flow live-verified on 4.20 (gate 6/6, 16/16); Kind commands are from setup-kind.sh/leaf-smoke.sh (the RC1-1/RC1-2 Kind gates: 13/13, 16/16). 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.
What
Adds
deploy/knative/README-authbridge.md— a demo doc for the RC1 AuthBridge (Rosso Cortex) two-hop egress-control path, covering both Kind and OpenShift. Cross-linked from the Smoke test sections ofREADME-kind.mdandREADME-ocp.md.Why
The runnable proof already existed (
leaf-smoke.shon Kind,rc1-ocp-gate.shon OCP), but nothing documented it:README-kind.md/README-ocp.mddon't mentionSH_AUTHBRIDGE, andserverless-harness-demo.mdcovers only scale-to-zero/sessions. A newcomer had no walkthrough of how Cortex egress works or how to see it.Contents
SH_AUTHBRIDGE=1 ./setup-kind.sh→LEAF_LIVE_SMOKE=1 SH_AUTHBRIDGE=1 NS=default bash leaf-smoke.shSH_AUTHBRIDGE=1 ./setup-ocp.sh→./rc1-ocp-gate.sh gate(up→smoke→restore;RC1_GATE_KEEP=1to keep applied)kubectlcommands).Verification
ECHO_CRED=PLACEHOLDER-TOKEN,ANTHROPIC_BASE_URL=http://authbridge-ab1:8080) confirmed against the live cluster and manifests.setup-kind.sh/leaf-smoke.sh(the RC1-1/RC1-2 Kind gates passed 13/13 and 16/16).Docs only. Follows the existing README section/table/
# =>conventions.Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com>