Thanks I actually needed common:default

On Thu, 22 Jun 2017 at 18:46 Frederic Giloux <[email protected]> wrote:

> True, you first need to manually create the policybinding so that it can
> ge amended by the command:
> oc create policybinding common -n common
>
> On Thu, Jun 22, 2017 at 10:23 AM, Andrew Lau <[email protected]>
> wrote:
>
>> The namespace "common" does exist.
>>
>> On Thu, 22 Jun 2017 at 18:17 Frederic Giloux <[email protected]> wrote:
>>
>>> Hi Andrew
>>>
>>> as per Gaurav's email you are missing: oc new-project common. The
>>> project / namespace named "common" has not been created.
>>>
>>> Regards,
>>>
>>> Frédéric
>>>
>>> On Thu, Jun 22, 2017 at 9:50 AM, Andrew Lau <[email protected]>
>>> wrote:
>>>
>>>> Was there an extra step you used before
>>>>
>>>> oc policy add-role-to-group shared-resource-viewer system:authenticated
>>>> --role-namespace=common
>>>>
>>>> I get:
>>>> Error from server (NotFound): policybindings "common" not found
>>>>
>>>> On Sat, 1 Apr 2017 at 06:57 Gaurav P <[email protected]> wrote:
>>>>
>>>>> Mirroring the openshift project, I've been able to create a second
>>>>> project with the same shared-resource-viewer Role added to group
>>>>> system:authenticated.
>>>>>
>>>>> oc new-project common
>>>>> oc export role shared-resource-viewer -n openshift | oc create -f -
>>>>> oc policy add-role-to-group shared-resource-viewer
>>>>> system:authenticated --role-namespace=common
>>>>>
>>>>> Images and templates in this project can then be shared by other
>>>>> projects.
>>>>>
>>>>>
>>>>> However getting the UI to display these images and templates is
>>>>> proving to be a challenge:
>>>>>
>>>>> This *policyConfig *option in *master-config.yaml* seems promising:
>>>>>
>>>>> *OpenShiftSharedResourcesNamespace* (string): The namespace where
>>>>> shared OpenShift resources are located, such as shared templates.
>>>>>
>>>>> But when I change this from openshift (default) to common, and delete
>>>>> all the default images, imagestreams and templates in the openshift
>>>>> namespace, the UI catalog states that no images or templates were found in
>>>>> the openshift namespace. This leads me to believe the UI is not honoring
>>>>> the above setting, or my understanding of that parameter is incorrect.
>>>>>
>>>>> Further, if I take away the shared-resource-viewer role from
>>>>> system:authenticated in the openshift namespace, the following errors
>>>>> appear on the UI catalog:
>>>>>
>>>>> Failed to list templates/v1 (403)
>>>>> Failed to list imagestreams/v1 (403)
>>>>>
>>>>>
>>>>> Any pointers would be much appreciated
>>>>>
>>>>>
>>>>> - Gaurav
>>>>>
>>>>>
>>>>> On Wed, Mar 29, 2017 at 9:46 AM, Subhendu Ghosh <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> It would be good to allow for a installation specific namespace to be
>>>>>> added to the search path for imagestream
>>>>>>
>>>>>> Subhendu
>>>>>>
>>>>>>
>>>>>> On Mar 28, 2017 22:34, "Jordan Liggitt" <[email protected]> wrote:
>>>>>>
>>>>>> Images exist outside namespaces. They are accessed via imagestreams,
>>>>>> which are namespaced.
>>>>>>
>>>>>> You can make imagestreams and templates available from namespaces
>>>>>> other than the openshift namespace, but the CLI and UI only look in
>>>>>> the current project and the openshift project by default.
>>>>>>
>>>>>>
>>>>>> > On Mar 28, 2017, at 10:12 PM, Andrew Lau <[email protected]>
>>>>>> wrote:
>>>>>> >
>>>>>> > Hi,
>>>>>> >
>>>>>> > Is it possible to create another global project similar to the
>>>>>> `openshift` namespace for sharing images/imagestreams/template?
>>>>>> >
>>>>>> > Docs seem point out imagestreams and templates are made global but
>>>>>> couldn't find reference to images. They are also made available if pushed
>>>>>> to the registry?
>>>>>> >
>>>>>> > Thanks
>>>>>> > _______________________________________________
>>>>>> > users mailing list
>>>>>> > [email protected]
>>>>>> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> [email protected]
>>>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> users mailing list
>>>>>> [email protected]
>>>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>>>
>>>>>>
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> [email protected]
>>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> [email protected]
>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>
>>>>
>>>
>>>
>>> --
>>> *Frédéric Giloux*
>>> Senior Middleware Consultant
>>> Red Hat Germany
>>>
>>> [email protected]     M: +49-174-172-4661
>>>
>>> redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
>>> ________________________________________________________________________
>>> Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn,
>>> Handelsregister: Amtsgericht München, HRB 153243
>>> Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham,
>>> Michael O'Neill
>>>
>>
>
>
> --
> *Frédéric Giloux*
> Senior Middleware Consultant
> Red Hat Germany
>
> [email protected]     M: +49-174-172-4661
>
> redhat.com | TRIED. TESTED. TRUSTED. | redhat.com/trusted
> ________________________________________________________________________
> Red Hat GmbH, http://www.de.redhat.com/ Sitz: Grasbrunn,
> Handelsregister: Amtsgericht München, HRB 153243
> Geschäftsführer: Paul Argiry, Charles Cachera, Michael Cunningham, Michael
> O'Neill
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to