---
title: "Grafana App Admission Control: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/grafana-admission-control/
description: "Implement validators and mutators for Grafana app resources before persistence."
---

# Grafana App Admission Control: review, setup & limitations · Undominated.ai

> Implement validators and mutators for Grafana app resources before persistence.

[← Explore all skills](/skills/)

OBSERVABILITY / grafana

# Grafana App Admission Control

Implement validators and mutators for Grafana app resources before persistence.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/grafana/skills/tree/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 4 linked sources
 Publisher grafana
 Licence [Apache-2.0 ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE)
 Revision 1ccacf29049f
 [Read what was—and wasn’t—checked ↓](#review)

“… Provides guidance on implementing validation and mutation admission handlers for grafana-app-sdk apps.”

 [grafana · upstream description ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - It separates grafana-app-sdk validation, which cannot change the object, from mutation, which can.
- Standalone apps run their own admission webhook server, while grafana/apps registers the same handlers in process.
- The examples use explicit object type checks, update-only old-object comparisons, mutation responses and separate standalone versus in-process registration.
- Reject invalid or immutable-field updates

### A good fit for

 - Adding a validator or mutator to a grafana-app-sdk kind before the object is stored
- Reject invalid or immutable-field updates
- Apply create-time defaults separately from validation
- Choose the admission runtime wiring for a standalone operator or a grafana/apps deployment.

### Weigh up before choosing

 - A validator cannot modify the resource.
- Mutation and validation also have to be enabled in the kind CUE; this file does not edit that CUE.
- The handler examples do not call Kubernetes by themselves.
- This review did not execute the resource.
- Registering Go handlers alone is insufficient: the CUE kind must enable the corresponding validation/mutation operations.
- Error messages are returned to API callers; avoid exposing sensitive internals. SDK interfaces and deployment wiring need validation against the app version.
- Referential validation depends on current API access and can fail for authorization or availability reasons, not only absent objects.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - skills/grafana-app-sdk/admission-control/SKILL.md
- README.md
- LICENSE

### Our findings

 - Validation accepts or rejects a request and cannot modify the resource.
- Standalone operators start a webhook server; grafana/apps does not require a separate server.
- The skill says to reject from validators rather than from mutators.
- It does not enable mutation in CUE; it points that at the cue-kind-definition skill.
- The examples use explicit object type checks, update-only old-object comparisons, mutation responses and separate standalone versus in-process registration.
- The definition uses identical admission-handler logic for standalone and grafana/apps deployments while distinguishing a standalone webhook server from an automatically registered in-process Kubernetes plugin.

### Not established by this review

 - The resource was not executed and its tools were not called.
- No skill execution, authenticated service operation, or outcome benchmark was performed.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md)

DOCUMENTED COMMAND

 npx skills add grafana/skills/skills/grafana-app-sdk/admission-control Copy command ↗

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

 Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

 npx skills add https://github.com/grafana/skills/tree/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control Copy reviewed-revision command ↗ - Install the pinned skill directory interactively, retaining its bundled references and scripts.
- Generate an operator stub if needed, add typed handlers to ManagedKinds and enable operations in the kind definition.
- Test create/update/delete actions, old-object availability and invalid object types; validate the app manifest.

### Before you start

 - grafana-app-sdk project and CLI
- Go toolchain and generated kind types

### Compatibility

Agents supporting directory-based SKILL.md instructions

### Local instructions; runtime access depends on the workflow

 - Edit app/schema files and run code generation/tests; deployed handlers can reject or alter incoming resource writes and may read related resources.

### Cost model

The skill is free; service usage and infrastructure can incur charges.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Pinned skill definition ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control/SKILL.md) Checked 2026-10-14 https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control/SKILL.md Supports: summary, whySelected, bestFor, limitations, install, access, review
- [Publisher repository and installation guidance ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md) Checked 2026-10-14 https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md Supports: install
- [Apache-2.0 licence ↗](https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE) Checked 2026-10-14 https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE Supports: license
- [Pinned continuation review W45 ↗](https://raw.githubusercontent.com/grafana/skills/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/grafana/skills/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-app-sdk/admission-control/SKILL.md Supports: review.findings, bestFor, upstreamDescription

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Grafana App Reconciler Logic ↗ Implement scoped resource reconciliation and status updates with explicit event and finalizer behavior.](/skills/grafana-reconciler-logic/)[### Grafana CUE Kind Definitions ↗ Define versioned resource schemas and generate matching app types from CUE.](/skills/grafana-cue-kind-definition/)[### OpenTelemetry with Grafana ↗ Connect application telemetry through direct OTLP export or an Alloy/Collector pipeline.](/skills/grafana-opentelemetry/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
