Admission Control
Admission control intercepts resource create/update requests before they are persisted. In grafana-app-sdk there are two types:
- Validation â accept or reject a request; cannot modify the resource
- Mutation â modify the resource before it is persisted (e.g. set defaults, normalize fields)
The app business logic for admission is identical whether the app runs as a standalone operator or inside grafana/apps. The only difference is the runtime: standalone apps stand up their own webhook server; grafana/apps apps have admission auto-registered as a Kubernetes plugin.
Getting Stubs
For standalone apps, if pkg/app/app.go does not yet exist, a stub App can be generated with:
grafana-app-sdk project component add operator
This creates scaffolded simple.App which admission handlers can be added to for each kind in ManagedKinds.
Installs: 4.7K | GitHub stars: 326 | First seen: Apr 15, 2026


