-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Add an envoyconf linting/validation tool #13233
Copy link
Copy link
Open
Labels
Description
description
If we create jsonschema for validating envoy yaml/json config files (see #13078) we can potentially re-use the schema for a cli linter (and/or libs for python/js etc).
This could eg be used to:
- validate snippets in docs etc (see docs: verify config snippets are valid #8837 and docs: Move envoy config snippets to include files #13231)
- validate deployment config for end users locally or in eg gitops-style CI
- maybe also for creating/manipulating config programatically
refs
- VSCode syntax extension #13078 (vscode)
- docs: verify config snippets are valid #8837 (config validation)
- docs: Move envoy config snippets to include files #13231 (move snippets to rst includes)
- docs: automate listing all stock/built-in types for typed extensions #13167 (automate dumping of typed extensions)
- https://github.com/chrusty/protoc-gen-jsonschema
- https://github.com/cwacek/python-jsonschema-objects
- https://github.com/envoyproxy/envoy/tree/master/test/tools
- https://www.envoyproxy.io/docs/envoy/latest/install/tools/tools
- https://github.com/envoyproxy/envoy/issues?q=is%3Aopen+is%3Aissue+label%3Aarea%2Froute_check_tool#
- https://www.schemastore.org/json/
- https://envoylint.com/
- https://github.com/ysawa0/envoylint
Reactions are currently unavailable