From 060930e54fa723769b2dfdd031e83ae0845b79bc Mon Sep 17 00:00:00 2001 From: deads2k Date: Mon, 30 Mar 2015 12:44:02 -0400 Subject: [PATCH] add how to disable security to the readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index c4f8ab824f9e..26d3ba031040 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,10 @@ Once the container is started, you can jump into a console inside the container $ docker exec -it openshift-origin bash $ osc --help +If you just want to experiment with the API without worrying about security privileges, you can disable authorization checks by running this from the host system. This command grants full access to anyone. + + $ docker exec -it openshift-origin bash -c "openshift admin --config=/var/lib/openshift/openshift.local.certificates/admin/.kubeconfig policy add-role-to-group cluster-admin system:authenticated system:unauthenticated" + ### Start Developing