mirror of
https://github.com/nubenetes/awesome-kubernetes.git
synced 2026-05-20 08:04:27 +00:00
1.7 KiB
1.7 KiB
YAML Processors and Static Checking of Kubernetes YAML Files
YAML Processors
- wikipedia: YAML
- github.com/topics/yaml-processor
- You should use tools such as yq and kustomize to template YAML resources instead of relying on tools that interpolate strings such as Helm.
- yq 🌟 is a lightweight and portable command-line YAML processor. The aim of the project is to be the jq or sed of yaml files.
- ytt is a templating tool that understands YAML structure allowing you to focus on your data instead of how to properly escape it.
Static Checking of Kubernetes YAML Files
- The ecosystem of static checking of Kubernetes YAML files can be grouped in the following categories:
- API validators: Tools in this category validate a given YAML manifest against the Kubernetes API server.
- Built-in checkers: Tools in this category bundle opinionated checks for security, best practices, etc.
- Custom validators: Tools in this category allow writing custom checks in several languages such as Rego and Javascript.
- Validating Kubernetes YAML for best practice and policies 🌟 In this article, you will learn and compare six different tools: