In Tekton extension we have a problem with contributing custom JSON Scheme for tekton resources.
The main problem is that K8s extension also add a very simple schemes for all CRD resources.
But YAML LS use only one, and we cannot change(and do not know) which.
To make a good tooling for Tekton we need to make sure that YAML LS uses JSON Schemes provided by tekton extension.
YAML LS has API which allows to modify parts of JSON Sheme, but that API works only with static schemes, and do not allow to modify custom schemes.
In Tekton extension we have a problem with contributing custom JSON Scheme for tekton resources.
The main problem is that K8s extension also add a very simple schemes for all CRD resources.
But YAML LS use only one, and we cannot change(and do not know) which.
To make a good tooling for Tekton we need to make sure that YAML LS uses JSON Schemes provided by tekton extension.
YAML LS has API which allows to modify parts of JSON Sheme, but that API works only with static schemes, and do not allow to modify custom schemes.