Skip to content

docs: extract and validate k8s resources#1973

Draft
herewasmike wants to merge 2 commits intoenvoyproxy:mainfrom
herewasmike:docs_validation
Draft

docs: extract and validate k8s resources#1973
herewasmike wants to merge 2 commits intoenvoyproxy:mainfrom
herewasmike:docs_validation

Conversation

@herewasmike
Copy link
Contributor

Description

Move embedded yaml from docs to separate files.
Validate them (and examples folder) with kubeconform

Special notes for reviewers (if applicable)

Not sure if we're fine with network calls to get schemas (from https://github.com/yannh/kubernetes-json-schema) for resources defined outside of this repo.
This is still wip and I want to get some feedback on the approach

Signed-off-by: Mikhail Toldov <matoldov@gmail.com>
Signed-off-by: Mikhail Toldov <matoldov@gmail.com>
@herewasmike
Copy link
Contributor Author

@missBerg what are your thoughts on this approach?

(I'll address migration to v1beta later)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant