Skip to content

Flag errors when YAML files can't be parsedΒ #41

@viswajithiii

Description

@viswajithiii

Currently, KubeLinter is permissive if a YAML file fails to parse. This is to handle the case where we are walking a directory and encounter files that aren't Kubernetes manifests. We can change this to be smarter: we can detect if a file contains Kubernetes manifests using some heuristics, and fail hard when we detect those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions