You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to get schemas to work with nvim and yamlls? When I enable yamlls on pod definition file I get this in red at very first line:
$ref '/definitions/io.openshift.cloudcredential.v1.CredentialsRequest' in 'file:///var/home/user/src/ocp-json-schema/k8s-manifest-validation/schemas/openshift-json-schema/master-standalone/_definitions.json' can not be resolved.
I have created schemas for openshift following these instructions like this:
Summary
How to get schemas to work with nvim and yamlls? When I enable yamlls on pod definition file I get this in red at very first line:
I have created schemas for openshift following these instructions like this:
which goes through fine. It lists three schemas that need to get skipped, and creates lots of schemas.
If I then take out registry yaml from kube (openshift), I can verify it with kubeval:
I set the path to nvim yamlls like this (note, the path goes further than for kubeval, the shorter path won't work):
full config here
Here is the pod yaml I verified, just randomly selected something from the same cluster that I took the schemas from:
The text was updated successfully, but these errors were encountered: