hub icon indicating copy to clipboard operation
hub copied to clipboard

tkn hub install: Support `--if-not-exists`

Open adambkaplan opened this issue 1 year ago • 1 comments

Feature request

For tkn hub install: add an option so that the install command does not fail if the catalog resource already exists in the cluster namespace.

Example:

$ tkn hub install task git-clone --version 0.9 --if-not-exists -n my-playground
Task git-clone(0.9.0) already installed in my-playground namespace

Use case

  1. Pipelines in external systems (ex: Jenkins) that configure or deploy a namespace.

UI Example

$ tkn hub install task git-clone --version 0.9 --if-not-exists -n my-playground

adambkaplan avatar Sep 06 '23 19:09 adambkaplan

this feature request should go in https://github.com/tektoncd/hub, hence moving it there

vinamra28 avatar Sep 11 '23 04:09 vinamra28