-
Story
-
Resolution: Done
-
Major
-
DO280 - OSE 3.0 2 20160126
-
None
-
3
-
ILT
-
en-US (English)
URL:
Reporter RHNID:
Section: -
Language: en-US (English)
Workaround:
Description: Configuring Resources with the CLI (content, section 2 of unit 3)
Useful commands
Add info for oc exec (used in the GE) and also compare to oc rsh
Managing Security Policies (content, section 3 of unit 3)
Add demo:
On master: add a user:
htpasswd -b /etc/origin/openshift-passwd newuser redhat
On workstation: have student create a project
oc whoami
oc login -u student
oc new-project demo
On workstation: change to newuser and try to access the project demo
oc login -u newuser
(password)
oc project demo
(display permission denied error)
Grant admin rights to newuser for the project demo
oadm policy add-role-to-user admin newuser -n demo
As newuser, switch to the demo project
oc whoami
(show that you are newuser or login as needed)
oc project demo
oc get all
Show policy:
oc describe policyindings :default -n demo
[All this needs a hands on practice as well,
either GE or LAB - see DO280-128]