You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to configure Knative on my cluster to perform on-cluster builds and deploy functions.
I run the following: kn func deploy --remote --registry=harbor.domain/repo
I'm prompted for credentials which successfully authenticates (using the harbor admin account). The pipeline pulls from my git server, but when it comes to reading the image registry during the analyze stage, I get the following:
ERROR: failed to initialize analyzer: validating registry read access: ensure registry read access to harbor.domain/repo/helloworld-py:latest
The Harbor registry is running on the same cluster, so I've attempted to change from "harbor.domain" to "harbor-core.harbor.svc.cluster.local" as well with no luck. Since I'm using the 'kn func deploy' command, I haven't built a custom Tekton pipeline, so everything is being done with whatever the default is.
Is there a way to view or modify this default pipeline, such as adding my registry credentials to it?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I'm trying to configure Knative on my cluster to perform on-cluster builds and deploy functions.
I run the following:
kn func deploy --remote --registry=harbor.domain/repo
I'm prompted for credentials which successfully authenticates (using the harbor admin account). The pipeline pulls from my git server, but when it comes to reading the image registry during the analyze stage, I get the following:
ERROR: failed to initialize analyzer: validating registry read access: ensure registry read access to harbor.domain/repo/helloworld-py:latest
The Harbor registry is running on the same cluster, so I've attempted to change from "harbor.domain" to "harbor-core.harbor.svc.cluster.local" as well with no luck. Since I'm using the 'kn func deploy' command, I haven't built a custom Tekton pipeline, so everything is being done with whatever the default is.
Is there a way to view or modify this default pipeline, such as adding my registry credentials to it?
Beta Was this translation helpful? Give feedback.
All reactions