Describe the bug
If a file contains multiple specifications separated by three hyphens (---), kubesec fails the scan with "This resource kind is not supported by kubesec".
To Reproduce
kubesec scan (a pod spec file containing multiple specs separated by triple hyphens)
Expected behaviour
A pass / fail result should be shown, with kubesec parsing each spec individually.
Additional context
A workaround is to manually separate the individual specs into individual files and scan them with kubesec. But only one of the resulting files is scannable by kubesec.
Describe the bug
If a file contains multiple specifications separated by three hyphens (---), kubesec fails the scan with "This resource kind is not supported by kubesec".
To Reproduce
kubesec scan (a pod spec file containing multiple specs separated by triple hyphens)
Expected behaviour
A pass / fail result should be shown, with kubesec parsing each spec individually.
Additional context
A workaround is to manually separate the individual specs into individual files and scan them with kubesec. But only one of the resulting files is scannable by kubesec.