Closed jbialy closed 5 years ago
ah... https://github.com/garethr/kubeval/issues/78
Works fine with:
echo "
---
# Define a Namespace
apiVersion: v1
kind: Namespace
metadata:
name: efs-provisioner" | kubeval
The document stdin contains a valid Namespace
Ah, the first example is actually two YAML documents, one of which only has the comment. Thanks.
I seem to be getting failures of type
* Missing a kind key
when a yaml contains a comment: