Skip to content

Commit f3a17af

Browse files
authored
Merge pull request #8126 from enj/enj/i/disable_daemonset_carry/1536304,1501514
Undo changes to daemonset RBAC docs
2 parents 84c450a + ea97938 commit f3a17af

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

admin_guide/manage_rbac.adoc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,25 @@ Subjects:
712712

713713

714714
ifdef::openshift-enterprise,openshift-origin,atomic-registry[]
715+
[[admin-guide-granting-users-daemonset-permissions]]
716+
== Granting Users Daemonset Permissions
717+
718+
By default, project developers do not have the permission to create
719+
xref:../dev_guide/daemonsets.adoc#dev-guide-daemonsets[daemonsets]. As a cluster
720+
administrator, you can grant them the abilities.
721+
722+
. Create the cluster role:
723+
+
724+
----
725+
$ oc create clusterrole daemonset-admin --verb=create,delete,get,list,update,watch --resource=daemonsets.extensions
726+
----
727+
728+
. Create the local role binding:
729+
+
730+
----
731+
$ oc adm policy add-role-to-user daemonset-admin <user>
732+
----
733+
715734
[[creating-local-role]]
716735
== Creating a Local Role
717736

dev_guide/daemonsets.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ For more information on daemonsets, see the link:http://kubernetes.io/docs/admin
2424
[[dev-guide-creating-daemonsets]]
2525
== Creating Daemonsets
2626

27+
[IMPORTANT]
28+
====
29+
Before creating daemonsets, ensure you have been
30+
xref:../admin_guide/manage_rbac.adoc#admin-guide-granting-users-daemonset-permissions[given
31+
the required role by your {product-title} administrator].
32+
====
33+
2734
When creating daemonsets, the `*nodeSelector*` field is used to indicate the
2835
nodes on which the daemonset should deploy replicas.
2936

0 commit comments

Comments
 (0)