2017-08-17 138 views

回答

1

登录到您的openshift命令行运行命令:

oc policy add-role-to-user \ 
    system:image-puller system:serviceaccount:testing1:default \ 
    --namespace=testing2 

OR

oc policy add-role-to-user \ 
    system:image-puller system:serviceaccount:testing1:default \ 
    -n testing2 

您的项目testing2将能够访问你的openshift从项目testing1图像。

欲了解更多信息请参阅openshift Documentation

相关问题