vscode-tekton
vscode-tekton copied to clipboard
extension doesn't support multiple kinds in a single file
I am using a single .yaml
file to create all the resources required for the pipeline by separating them with ---
. I get error after I installed this extension. Not sure if its by design or a bug.
yaml: expected a single document in the stream, but found more
yaml: expected a single document in the stream, but found more
Hi, @VickyWinner this error you get while creating multiple resources in a single file? If yes which command you were using to create resources.
@sudhirverma just take any resource required by the pipeline. Task, TaskRun, Pipeline, PipelineRun etc.
@VickyWinner I cannot to reproduce this, could you share more detailed steps to reproduce?
its not erroring out while running the kubectl
or oc
. Its just the vscode pops errors.
I try this https://github.com/tektoncd/pipeline/blob/main/examples/v1beta1/pipelineruns/pipelinerun.yaml and havent see any errors
this is what I see
@VickyWinner Are you using latest version of vscode-tekton?
I am using v0.14.0
Latest is 0.16.1
try that version
I just did install 0.16.1
but still the same issue. just an update that I am running vscode in administrator mode.
Do you have any other extension related to yaml? Like Ansible?
No. I am using only .yaml
extension for all tekton stuff. I ran vscode in non-administrator mode, same issue. looks like it has nothing to do with that.
I mean any other vscode extensions(plugins) which can handle/provide some editor features for yaml files.