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
- 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:enable-git-resolver: Git resolverenable-hub-resolver: Hub resolverenable-cluster-resolver: Cluster resolverenable-bundles-resolver: Bundles resolverenable-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
Organize Remote Resources
Cache Considerations
Tekton caches resolved resources. Cache TTL can be configured in the resolver configuration.
Security
Troubleshooting
Resolution failed: repository not found
Resolution failed: repository not found
Check:
- Repository URL is correct
- Repository is public, or authentication is configured
- Token has appropriate permissions
- Branch/tag/revision exists
Resolution failed: file not found
Resolution failed: file not found
Verify:
pathInRepois correct (case-sensitive)- File exists at the specified revision
- File contains valid Tekton YAML
RBAC errors with cluster resolver
RBAC errors with cluster resolver
Ensure ServiceAccount has permissions: