mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
fix: conform articles to the template
This commit is contained in:
@@ -2,10 +2,16 @@
|
||||
|
||||
Validates one or more Kubernetes configuration files.
|
||||
|
||||
## Table of contents <!-- omit in toc -->
|
||||
|
||||
1. [TL;DR](#tldr)
|
||||
1. [Further readings](#further-readings)
|
||||
1. [Sources](#sources)
|
||||
|
||||
## TL;DR
|
||||
|
||||
```sh
|
||||
$ kubeval my-invalid-rc.yaml || echo "Validation failed" >&2
|
||||
$ kubeval 'my-invalid-rc.yaml' || echo "Validation failed" >&2
|
||||
WARN - my-invalid-rc.yaml contains an invalid ReplicationController - spec.replicas: Invalid type. Expected: integer, given: string
|
||||
Validation failed
|
||||
```
|
||||
@@ -13,7 +19,21 @@ Validation failed
|
||||
## Further readings
|
||||
|
||||
- [Kubeval]
|
||||
|
||||
## Sources
|
||||
|
||||
- [Validating kubernetes YAML files with kubeval]
|
||||
|
||||
All the references in the [further readings] section, plus the following:
|
||||
|
||||
<!-- project's references -->
|
||||
[kubeval]: https://www.kubeval.com
|
||||
|
||||
<!-- in-article references -->
|
||||
[further readings]: #further-readings
|
||||
|
||||
<!-- internal references -->
|
||||
[kubernetes]: README.md
|
||||
|
||||
<!-- external references -->
|
||||
[validating kubernetes yaml files with kubeval]: https://learnk8s.io/validating-kubernetes-yaml#kubeval
|
||||
|
||||
Reference in New Issue
Block a user