redhat-developer / vscode-tekton

Tekton support for Visual Studio Code
MIT License
70 stars 36 forks source link

Oc bundle not downloaded even if called at starting time #728

Closed lstocchi closed 1 year ago

lstocchi commented 1 year ago

The extension checks if the active cluster is an Ocp or K8s one by executing the oc version command. The problem is that the oc executable is never downloaded. It works fine if the user has already it, otherwise the outcome will always result in a fail.

https://github.com/redhat-developer/vscode-tekton/blob/1b1c885ef4d5a322e3092572ac75913b0df8837d/src/cluster-version.ts#L16