在我的本地工作站上,我正在使用以下内容:
[我正在尝试使用S2I进程从基础映像和存储在github存储库中的源代码开始,将应用程序部署到本地集群中。
我要做的是:
kubernetes.io/ssh-auth
机密kubernetes.io/dockerconfigjson
秘密(称为quayio
)以从quay.io中提取图像>]oc secret link builder quayio --for=mount,pull
oc secret link default quayio --for=mount,pull
oc new-app --name=my-liberty-app base-image:1.0~GITHUB_REPO_PLACEHOLDER#master --context-dir=app --source-secret=oc-liberty-github
但是当构建开始时,出现此错误:
Cloning "git@GITHUB_REPO_PLACEHOLDER" ... Commit: f14d294a3e2e06e01db9034311035af5df9f3036 (App custom scripts) Author: user Date: Mon Mar 2 14:30:09 2020 +0100 Caching blobs under "/var/cache/blobs". Warning: Pull failed, retrying in 5s ... Warning: Pull failed, retrying in 5s ... Warning: Pull failed, retrying in 5s ... error: build error: After retrying 2 times, Pull image still failed due to error: errors: denied: requested access to the resource is denied unauthorized: authentication required
有人知道为什么会这样吗?
在我的本地工作站上,我正在使用以下工具:Openshift:4.2.13 CRC版本:1.4.0 + d5bb3a3我正在尝试使用S2I进程从基础开始将应用程序部署到我的本地集群中...
我发现了问题。图片流标签错误。