Skip to content

Commit

Permalink
Add docs on troubleshooting policies/permissions, add missing perms
Browse files Browse the repository at this point in the history
Change-Id: Iaf308d9ecfabb07547bfbe06fb98d0a58e91cc7e
  • Loading branch information
David Moreau-Simard committed Jun 20, 2017
1 parent af23f9a commit 03ae72f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/source/managing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ Managing the registry
# Allow authenticated users to browse the TripleO project
# Note: https://github.com/cockpit-project/cockpit/issues/6711
oc policy add-role-to-group registry-viewer system:authenticated -n tripleo

# Allow unauthenticated users to pull images from the TripleO project
# (Anonymous, public access to registry, not the actual console)
oc policy add-role-to-group registry-viewer system:unauthenticated -n tripleo
2 changes: 2 additions & 0 deletions doc/source/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ Troubleshooting the registry
oc get pods -n default
oc exec -n default <pod name> <command> (ex: oc exec -n default docker-registry-1-xgxqb ls)

# Look at policies and permissions for a project
oc get rolebindings -n project

0 comments on commit 03ae72f

Please sign in to comment.