-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validating multi document files #303
Comments
looks like this possible. when I do:
but my favorite command option with kubeval is |
@szantopeter I also believe this should be supported? It is tested here Lines 57 to 65 in 062c99a
Do you want to give an example that doesnt work, and expand how you are using kubeval? Thanks! |
I'm having the same issue using docker images
|
It seems to work when piping via stdin but not when passing the filename:
gives
where
or
just gives
|
Update: Seems to work with latest version of kubeval (v0.16.1). |
I had issue when one part of yaml contained configMap that contained windows style end of line sequence (CRLF) instead of linux style ending. Then all other documents contained after this configMap were skipped. |
I want to validate the output of kustomize build. It puts multiple documents into a single yaml separated by --- . I noticed that only the first document is validated. Would it be possible to validate every yaml document within a file?
The text was updated successfully, but these errors were encountered: