Closed pulpo closed 9 months ago
Thanks for raising this @pulpo. What version of the Tekton CLI are you using? There was an issue for a while where it did not properly handle the v1 APIs although tkn v0.30 introduced a number of fixes in this area.
I just tested on the latest version and was successfully able to run the command.
$ tkn version
Client version: 0.30.1
Pipeline version: v0.47.0
Triggers version: v0.23.1
Dashboard version: v0.35.0
$ tkn hub install task git-clone
Task git-clone(0.9) installed in test namespace
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
with a justification.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen
with a justification.
/lifecycle stale
Send feedback to tektoncd/plumbing.
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
with a justification.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen
with a justification.
/lifecycle rotten
Send feedback to tektoncd/plumbing.
Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen
with a justification.
Mark the issue as fresh with /remove-lifecycle rotten
with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen
with a justification.
/close
Send feedback to tektoncd/plumbing.
@tekton-robot: Closing this issue.
The documentation for the latest version use a task from the hub, git-clone, that has an outdated API version, giving the following error:
A quick fix for this is to download the task with
tnk hub get task git-clone > git-clone.yaml
and replace v1beta1 with v1.