Expand description
Check templates for kube-linter.
Templates are reusable check implementations that can be configured with parameters to create specific checks.
Modules§
- antiaffinity
- Anti-affinity detection template.
- capabilities
- Linux capabilities detection templates.
- dangling
- Dangling resource validation templates.
- envvar
- Environment variable check templates.
- hostmounts
- Host mount detection templates.
- hostnetwork
- Host network/PID/IPC detection templates.
- latesttag
- Latest tag detection template.
- livenessprobe
- Liveness probe detection template.
- misc
- Miscellaneous check templates.
- pdb
- PodDisruptionBudget check templates.
- ports
- Port-related check templates.
- privileged
- Privileged container detection template.
- privilegeescalation
- Privilege escalation detection template.
- rbac
- RBAC-related check templates.
- readinessprobe
- Readiness probe detection template.
- readonlyrootfs
- Read-only root filesystem detection template.
- replicas
- Replica count check templates.
- requirements
- CPU and memory requirements detection templates.
- runasnonroot
- Run as non-root detection template.
- serviceaccount
- Service account detection templates.
- unsafeprocmount
- Unsafe proc mount detection template.
- updateconfig
- Update strategy detection templates.
- validation
- General validation check templates.
Structs§
- Parameter
Desc - Parameter description for a template.
Enums§
- Template
Error - Template instantiation errors.
Traits§
Functions§
- get_
template - Get a template by key.
- init_
builtin_ templates - Initialize all built-in templates. This is called automatically on first access to the registry.
- list_
templates - List all registered templates.
- registry
- Get the template registry, initializing if needed.