admission-control

Official

Prevent invalid resources before they're persisted

Authorgrafana
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Admission control intercepts Kubernetes resource create/update/delete requests for grafana-app-sdk apps to ensure invalid or malformed objects are rejected and necessary modifications are applied before persistence.

Core Features & Use Cases

  • Validation Handlers: Implement Validator interfaces to accept or reject requests with clear, actionable error messages.
  • Mutating Handlers: Implement Mutator interfaces to set defaults, normalize fields, or modify objects before they are saved.
  • Use Case: Enforce immutability of critical fields, validate cross-field constraints, check referential integrity against other resources, and automatically populate defaults during resource creation.

Quick Start

Implement a Validator and/or Mutator for your resource type and register them in pkg/app/app.go so admission requests are handled before persistence.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: admission-control
Download link: https://github.com/grafana/skills/archive/main.zip#admission-control

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.