Skip to content
This repository was archived by the owner on Jun 10, 2026. It is now read-only.

Feat/sigs agentic features - #11

Open
achetronic wants to merge 3 commits into
mainfrom
feat/sigs-agentic-features
Open

Feat/sigs agentic features#11
achetronic wants to merge 3 commits into
mainfrom
feat/sigs-agentic-features

Conversation

@achetronic

Copy link
Copy Markdown
Owner

Controller: Kube Agentic Networking wiring

Full controller support for XBackend and XAccessPolicy CRDs:

  • XBackend → Destination + Route: serviceName → FQDN, hostname → TLS destination, default/custom MCP path via PathPrefix + rewrite
  • XAccessPolicy InlineTools → inlineAuthz: generates CEL rules with always-allow (GET/DELETE/initialize/tools/list) + per-source+tools rules. SPIFFE source → request.tls.peerCertificate.uris. ServiceAccount → SPIFFE ID via configured trust domain
  • XAccessPolicy ExternalAuth → extAuthz: HTTP and gRPC modes, cross-namespace backendRef
  • Garbage collection: orphaned agentic routes, destinations, and middlewares cleaned up
  • Status writing: XBackendAvailable and XAccessPolicyAccepted conditions
  • Metrics: reuses existing ReconcileTotal/ReconcileErrors with xbackend/xaccesspolicy labels
  • Config flags: watch.xBackends, watch.xAccessPolicies (default false), agentic.trustDomain

XBackend -> Destination + Route mapping with service/hostname backends.
XAccessPolicy -> inlineAuthz (InlineTools) and extAuthz (ExternalAuth).
SPIFFE and ServiceAccount identity via CEL expressions.
GC for orphaned agentic entities. Status writing for XBackend/XAccessPolicy.
Config flags: watch.xBackends, watch.xAccessPolicies, agentic.trustDomain.

Fixed cyrillic character in sourceToCEL function name.

🐘 Generated with Crush

Assisted-by: Claude Opus 4.6 via Crush <crush@charm.land>
- Remove custom contains() helper, use strings.Contains
- Remove duplicate tests already in xaccess_policy_test.go
- Add TestMapXAccessPolicy_UnknownSourceType (edge case)
- Fix imports across both test files

🐘 Generated with Crush

Assisted-by: Claude Opus 4.6 via Crush <crush@charm.land>
@achetronic achetronic self-assigned this Mar 31, 2026
@achetronic achetronic added the enhancement New feature or request label Mar 31, 2026
- CONTROLLER_TODO.md: add Kube Agentic Networking as done
- AGENTS.md: update controller tree with agentic types/mappers/status
- CONTROLLER_DESIGN.md: add XBackend/XAccessPolicy mapping and naming

🐘 Generated with Crush

Assisted-by: Claude Opus 4.6 via Crush <crush@charm.land>
achetronic added a commit that referenced this pull request Apr 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant