Skip to content

Commit ea97938

Browse files
committed
Undo changes to daemonset RBAC docs
Revert "Remove daemonset from RBAC docs" This reverts commit 9912d86. Revert "Removed link to Granting Users Daemonset Permissions as followup to PR#7981" This reverts commit 015ed38. Bug 1536304 Bug 1501514
1 parent 2a50cee commit ea97938

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

admin_guide/manage_rbac.adoc

+19
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

+7
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)