`oc create policybinding TARGET_POLICY_NAMESPACE` should help create a
policybinding the correct shape.


  # Create a policy binding in namespace "foo" that references the policy
in namespace "bar"
  oc create policybinding bar -n foo


On Wed, Jul 6, 2016 at 9:12 PM, Jordan Liggitt <[email protected]> wrote:

> Can you show the output of this command while your project is in that
> state?
>
> oc get policybindings -o yaml
>
> On Wed, Jul 6, 2016 at 5:51 PM, Alex Wauck <[email protected]> wrote:
>
>> I did create a "role-namespace:default" policy binding object.  After
>> creating it, the project disappeared from the list (but it was still
>> accessible via direct links).  After deleting it, the project reappeared.
>>
>> On Wed, Jul 6, 2016 at 4:28 PM, Jordan Liggitt <[email protected]>
>> wrote:
>>
>>> A policy binding object name consists of the namespace where the roles
>>> are defined (or the empty string for cluster-level roles) and the name of
>>> the policy object (which is currently pinned to "default").
>>>
>>> When you created (or overwrote) the ":default" policy binding object, it
>>> removed bindings to cluster-level roles, which likely removed your user's
>>> access to the project.
>>>
>>> To bind to roles defined in "role-namespace", create a policy binding
>>> object named "role-namespace:default".
>>>
>>>
>>> On Wed, Jul 6, 2016 at 5:17 PM, Alex Wauck <[email protected]>
>>> wrote:
>>>
>>>> I want to bind a service account defined in one project to a role
>>>> defined in another.  Apparently, I need to create a :default policybinding
>>>> for the project containing the role.  I tried doing this, but then the
>>>> project stopped showing up in the list of projects in the Web UI.  Why do I
>>>> need this policybinding, and what does it need to contain in order to not
>>>> break the Web UI?
>>>>
>>>> I am running OpenShift Origin 1.2.0.
>>>>
>>>> --
>>>>
>>>> Alex Wauck // DevOps Engineer
>>>>
>>>> *E X O S I T E*
>>>> *www.exosite.com <http://www.exosite.com/>*
>>>>
>>>> Making Machines More Human.
>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> [email protected]
>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>
>>>>
>>>
>>
>>
>> --
>>
>> Alex Wauck // DevOps Engineer
>>
>> *E X O S I T E*
>> *www.exosite.com <http://www.exosite.com/>*
>>
>> Making Machines More Human.
>>
>>
>
> _______________________________________________
> 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

Reply via email to