Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEP-0115] Support Artifact Hub in Hub Resolver #5666

Merged

Commits on Oct 24, 2022

  1. [TEP-0115] Support Artifact Hub in Hub Resolver

    Part of [issues/667].
    This commit adds support to resolve catalog resource from the [Artifact Hub] while keeping current functionality of fetching resources from Tekton Hub.
    
    - Change 1:
    
    The commit adds a new field `type` to the hub resolver indicating the type of the Hub to pull the resource from. The value can be set to `tekton` or `artifact`. By default, the resolver fetches resources from `https://artifacthub.io/` when setting `type` to `" artifact"`, and fetches resources from user's private instance of Tekton Hub when setting `type` to `"tekton"`.
    
    - Change 2:
    
    Prior to this change, the hub resolver only supports pulling resources from the Tekton Hub. This commit updates the default hub type to `artifact` since the [Artifact Hub][Artifact Hub] will be the main entrypoint for Tekton Catalogs in the future.
    
    - Change 3:
    
    Prior to this change, the default Tekton Hub URL is: `https://api.hub.tekton.dev`. This commit removes the default value of the Tekton Hub URL and enforces users to configure their own instance of Tekton Hub since the public instance `https://api.hub.tekton.dev` will be deprecated after the migration to Artifact Hub is done.
    
    /kind feature
    
    [Artifact Hub]: https://artifacthub.io/
    [issues/667]: tektoncd/hub#667
    QuanZhang-William committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    dda9d0d View commit details
    Browse the repository at this point in the history