Created
April 2, 2018 23:31
-
-
Save sherl0cks/8d6ea5141a01e21ff999f9e89fb0fbd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
########## s8 | |
[jholmes@fedora27 assistant]$ oc get rolebindings | |
NAME ROLE USERS GROUPS SERVICE ACCOUNTS SUBJECTS | |
admin /admin josphill | |
edit /edit labs-ci-cd-contributors | |
jenkins_edit /edit jenkins | |
system:deployers /system:deployer deployer | |
system:image-builders /system:image-builder builder | |
system:image-pullers /system:image-puller system:serviceaccounts:labs-ci-cd | |
sh-4.2$ oc policy who-can create ProjectRequest | |
Namespace: labs-ci-cd | |
Verb: create | |
Resource: projectrequests | |
Users: system:admin | |
system:serviceaccount:cluster-ops:build-pruner | |
system:serviceaccount:cluster-ops:image-pruner | |
system:serviceaccount:kube-system:clusterrole-aggregation-controller | |
system:serviceaccount:management-infra:management-admin | |
Groups: rhoil-core-ocp-admins | |
system:authenticated:oauth | |
system:cluster-admins | |
system:masters | |
########## s7 | |
[jholmes@fedora27 assistant]$ oc get rolebindings -n labs-ci-cd | |
NAME ROLE USERS GROUPS SERVICE ACCOUNTS SUBJECTS | |
admin /admin jholmes | |
edit /edit labs-ci-cd-contributors | |
jenkins_edit /edit jenkins | |
system:deployers /system:deployer deployer | |
system:image-builders /system:image-builder builder | |
system:image-pullers /system:image-puller system:serviceaccounts:labs-ci-cd | |
[jholmes@fedora27 assistant]$ oc policy who-can create ProjectRequest -n labs-ci-cd | |
Namespace: labs-ci-cd | |
Verb: create | |
Resource: projectrequests | |
Users: system:admin | |
system:serviceaccount:cluster-ops:build-pruner | |
system:serviceaccount:cluster-ops:image-pruner | |
system:serviceaccount:labs-ci-cd:jenkins | |
system:serviceaccount:management-infra:management-admin | |
Groups: rhoil-core-ocp-admins | |
system:authenticated:oauth | |
system:cluster-admins | |
system:masters |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment