You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Implement mutating webhook for Authbridge sidecar injection #74
Implement a Kubernetes mutating admission webhook that intercepts workload creation/updates and injects Authbridge identity infrastructure sidecars into pods. This is a core component of the compositional architecture described in the Kagenti Implementation Design.
Motivation
The current Kagenti architecture requires users to deploy agents using the custom Agent CR. The new compositional approach allows users to use standard Kubernetes workloads (Deployment, StatefulSet, DaemonSet) with automatic identity infrastructure injection via an opt-in label.
This enables:
Zero-friction adoption using familiar Kubernetes primitives
Support for multiple workload types (not just Deployments)
Automatic SPIFFE identity and token exchange capabilities
Separation of identity infrastructure from application code
Requirements
Webhook Configuration
The webhook must:
Watch workload resources at CREATE and UPDATE operations:
apps/v1 Deployments
apps/v1 StatefulSets
apps/v1 DaemonSets
batch/v1 Jobs (future consideration)
batch/v1 CronJobs (future consideration)
Injected Components
The webhook must inject the following Authbridge components into the pod template spec:
Init Container:
proxy-init : Sets up iptables for traffic interception, creates SPIFFE socket directory
@cwiklik just to clarify, auth-proxy shouldn't be added as one of the sidecars. Only envoy-proxy should be added. This sidecar has both envoy and ext proc processes for intercepting outbound requests and doing token exchanges. There is a separate issue for capturing inbound requests to do token validation, but that is not what auth-proxy is supposed to do.
Activity
huang195 commentedon Jan 21, 2026
@cwiklik just to clarify,
auth-proxyshouldn't be added as one of the sidecars. Onlyenvoy-proxyshould be added. This sidecar has both envoy and ext proc processes for intercepting outbound requests and doing token exchanges. There is a separate issue for capturing inbound requests to do token validation, but that is not whatauth-proxyis supposed to do.pdettori commentedon Jan 28, 2026
@cwiklik is this completed by #75 and #76 ? or there is something else ?
cwiklik commentedon Jan 28, 2026
Merged under #75