[英]eclipse che docker desktop installation is unable to pull images from private docker registry
Aim is to have a default workspace created for each new user.目的是为每个新用户创建一个默认工作区。
User will visit the link https://che-eclipse-che.192.168.0.1.nip.io/#https://github.com/test/eclipse-che It has the devfile to create the workspace.用户将访问链接https://che-eclipse-che.192.168.0.1.nip.io/#https://github.com/test/eclipse-che它具有创建工作区的开发文件。
First user registration will happen via keycloak and then the workspace will be created.第一个用户注册将通过 keycloak 进行,然后将创建工作区。 This means a new kubernetes namespace will also be created for the user.这意味着还将为用户创建一个新的 kubernetes 命名空间。
The problem is that I need to use an image from a private docker registry but I'm unable to specify the authentication credentials in the devfile.问题是我需要使用来自私有 docker 注册表的图像,但我无法在 devfile 中指定身份验证凭据。 Is there any way to achieve this?有什么办法可以做到这一点?
Can not use kubernetes secret because secrets are confined to a namespace.不能使用 kubernetes 机密,因为机密仅限于命名空间。
Withing Che, you can't configure your credentials to be used for every user.使用 Che,您无法配置您的凭据以供每个用户使用。 Each is supposed to configure their credentials, if they need access private docker repos.如果他们需要访问私有 docker 存储库,每个人都应该配置他们的凭据。 Check https://www.eclipse.org/che/docs/che-7/end-user-guide/using-private-container-registries/检查https://www.eclipse.org/che/docs/che-7/end-user-guide/using-private-container-registries/
What I can propose to look into:我可以建议调查的内容:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.