Oc policy: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * oc =Overview= =Subcommands= ==add-role-to-user== <pre> oc policy add-role-to-user view system:serviceaccount:monitored-project:monitor-agent </pre>") |
|||
Line 10: | Line 10: | ||
<pre> | <pre> | ||
oc policy add-role-to-user view system:serviceaccount:monitored-project:monitor-agent | oc policy add-role-to-user view system:serviceaccount:monitored-project:monitor-agent | ||
</pre> | |||
==add-role-to-group== | |||
<pre> | |||
oc policy add-role-to-group view system:serviceaccounts -n <some-project> | |||
</pre> | </pre> |
Revision as of 14:50, 10 May 2017
Internal
Overview
Subcommands
add-role-to-user
oc policy add-role-to-user view system:serviceaccount:monitored-project:monitor-agent
add-role-to-group
oc policy add-role-to-group view system:serviceaccounts -n <some-project>