Skip to content

Matches multiple schemas when only one must validate #998

@nyxar77

Description

@nyxar77

Describe the bug

I'm getting this error no matter what is the content of the file, the code works correctly but i'm getting an error.
I'm using Neovim, the autocompletion is working and everything

Expected Behavior

no error

Current Behavior

apiVersion: v1 # Error: Matches multiple schemas when only one must validate
kind: Deployment
metadata:
    ...

Steps to Reproduce

  1. changed Kubernetes filetype from to *.k8s.yaml, that's all

Environment

  • Windows
  • Mac
  • Linux
  • other (please specify)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions