-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Expected Behavior
After following the DEVELOPMENT.md and setting up the cluster in KIND using this section. I should be able to install the pipeline with this command: ko apply -R -f config/.
I am on Fedora 40 and use KIND with Docker.
Actual Behavior
The pipeline installation fails with this error:
Error: error processing import paths in "config/webhook.yaml": error resolving image references: no nodes found for cluster "kind"
Steps to Reproduce the Problem
- Be on Fedora 40.
- Start a KIND cluster with Docker and a local registry.
- Configure ko as shown here with
export KO_DOCKER_REPO="kind.local" - Install pipeline:
ko apply -R -f config/
Additional Info
-
Kubernetes version:
Output of
kubectl version:
Client Version: v1.32.2
Kustomize Version: v5.5.0
Server Version: v1.32.2
-
Tekton Pipeline version:
Output of
tkn versionorkubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'
Client version: 0.40.0
Pipeline version: unknown, pipeline controller may be installed in another namespace please use tkn version -n {namespace}
Solution
The issue is resolved by setting export KO_DOCKER_REPO="localhost:5000" which should be the address of your local registry.
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Type
Projects
Status
Done