Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 903 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 903 Bytes

k8s-tracing-webhook

This webhook project is based on https://github.com/stackrox/admission-controller-webhook-demo

An implementation of k8s admission control webhook, that enables atuomatic attachement of the Elastic APM Java agent to application pods. The registered MutatingAdmissionWebhook intercepts requests to the Kubernetes API server and executes the mutating admission control webhook prior to persistence of the object, but after the request is authenticated and authorized. This allows the mutation of the originally submitted request.

Screen Shot 2021-05-13 at 14 20 35

The mutation is done by applying JSON patches.