Skip to main content
Remote resolution allows you to reference Tasks and Pipelines stored outside your cluster, enabling sharing and reuse across teams and organizations.

Overview

Tekton supports multiple remote resolvers:
  • Git resolver: Fetch from Git repositories
  • Hub resolver: Fetch from Tekton Hub or Artifact Hub
  • Cluster resolver: Reference resources in other namespaces
  • Bundles resolver: Fetch from OCI registries
  • HTTP resolver: Fetch from HTTP(S) URLs
Remote resolution promotes:
  • Task and Pipeline reusability
  • Version control for pipeline definitions
  • Centralized catalog management
  • Separation of pipeline definitions from runs

Prerequisites

Starting with v0.41.0, remote resolvers are enabled by default. Verify they’re enabled:
Each resolver has a feature flag:
  • enable-git-resolver: Git resolver
  • enable-hub-resolver: Hub resolver
  • enable-cluster-resolver: Cluster resolver
  • enable-bundles-resolver: Bundles resolver
  • enable-http-resolver: HTTP resolver

Git Resolver

Reference Tasks and Pipelines from Git repositories:

Basic Git Resolution

Git Resolver Parameters

Using Private Repositories

1

Create authentication secret

2

Reference in PipelineRun

Custom Git Server

For self-hosted Git servers:

Hub Resolver

Fetch Tasks and Pipelines from Tekton Hub or Artifact Hub:

Hub Resolver Parameters

Using TaskRuns with Hub Resolver

Cluster Resolver

Reference Tasks and Pipelines in other namespaces within the same cluster:

Cluster Resolver Parameters

The ServiceAccount running the PipelineRun needs RBAC permissions to read the referenced resource in the target namespace.

RBAC for Cluster Resolver

HTTP Resolver

Fetch Tasks and Pipelines from HTTP(S) URLs:

HTTP Resolver with Authentication

Getting Started Example

1

Create a Pipeline in Git

Create pipeline.yaml in your repository:
2

Commit and push

3

Create a PipelineRun

4

Apply and monitor

Best Practices

Version Control

Always specify explicit revisions (tags or commit SHAs) in production to ensure reproducibility.

Organize Remote Resources

Cache Considerations

Tekton caches resolved resources. Cache TTL can be configured in the resolver configuration.

Security

Troubleshooting

Check:
  1. Repository URL is correct
  2. Repository is public, or authentication is configured
  3. Token has appropriate permissions
  4. Branch/tag/revision exists
View resolver logs:
Verify:
  1. pathInRepo is correct (case-sensitive)
  2. File exists at the specified revision
  3. File contains valid Tekton YAML
Test manually:
Ensure ServiceAccount has permissions:

Comparison of Resolvers

Use Git resolver for your organization’s custom Tasks and Pipelines, and Hub resolver for community-maintained resources.