Skip to content

tkn hub install: Support --if-not-exists #1120

@adambkaplan

Description

@adambkaplan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions