feat: IBAC integration via authbridge plugin pipeline#18
Open
kellyaa wants to merge 6 commits into
Open
Conversation
Signed-off-by: Kelly Abuelsaad <kna@us.ibm.com>
Signed-off-by: Kelly Abuelsaad <kna@us.ibm.com>
Drop the standalone IBAC sidecar (forked authbridge image + Envoy + iptables init container) in favor of patching the operator-injected authbridge sidecar's plugin pipeline. The new flow appends a2a-parser (inbound) and inference-parser/mcp-parser/ibac (outbound) into the operator-managed authbridge-config-<agent> ConfigMap, and waits for the sidecar's filesystem-watch hot-reload to swap pipelines. Also wires --ibac to authBridgeEnabled=true in the kagenti API call so the operator injects the sidecar (and creates the ConfigMap) in the first place. Removes envoy-config.yaml and patch-deployment.yaml (legacy stack); adds ibac-patch.yaml (envsubst template), ibac-merge.py (idempotent ConfigMap merge with --prompt-file), and wait-for-reload.sh. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Kelly Abuelsaad <kna@us.ibm.com>
Stale leftover from before the migration commit; the flag no longer injects an Envoy overlay sidecar. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Kelly Abuelsaad <kna@us.ibm.com>
The kagenti-deps otel-collector binds OTLP/HTTP on 8335 (and gRPC on 4317); nothing is listening on 4318, so requests to 4318 return 503 and crash the agent's strict OTEL startup probe. Assisted-By: Claude (Anthropic AI) <noreply@anthropic.com> Signed-off-by: Kelly Abuelsaad <kna@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
a2a-parser,inference-parser,mcp-parser,ibac).--ibac/--no-ibacflags todeploy-agent.shplus anibac/overlay (apply-ibac.sh,ibac-merge.py,ibac-patch.yaml,intent_prompt.txt,wait-for-reload.sh) that patchesauthbridge-config-<agent>and waits for sidecar hot-reload.You will need to build and load the IBAC images into the cluster prior to use.
See docs: https://github.com/kagenti/kagenti-extensions/blob/main/authbridge/demos/ibac/README.md
Notes
ibacplugin (e.g.localhost/ibac-sidecar); the operator's defaultauthbridge-envoy:v0.5.0-rc.3does not include it and will logreloader: reload failed ... unknown plugin "ibac". Document or wire the image override before merging if this is intended for general use.