Skip to content

Commit 065c258

Browse files
committed
moving modules for role aggregation
1 parent c1a3bc1 commit 065c258

7 files changed

+12
-15
lines changed

admin_guide/custom_resource_definitions.adoc

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@
88
:toc: macro
99
:toc-title:
1010
:context: admin-guide-custom-resources
11+
:relfileprefix: ../
1112

1213
toc::[]
1314

14-
include::admin_guide/topics/crd_overview.adoc[]
15+
include::modules/crd_overview.adoc[]
1516

16-
include::admin_guide/topics/create_crd.adoc[leveloffset=+1]
17+
include::modules/create_crd.adoc[leveloffset=+1]
1718

18-
include::admin_guide/topics/create_aggregated_cluster_role_crd.adoc[leveloffset=+1]
19+
include::modules/create_aggregated_cluster_role_crd.adoc[leveloffset=+1]
1920

20-
include::admin_guide/topics/create_crd_obj.adoc[leveloffset=+1]
21+
include::modules/create_crd_obj.adoc[leveloffset=+1]
2122

22-
include::admin_guide/topics/manage_crd_obj.adoc[leveloffset=+1]
23+
include::modules/manage_crd_obj.adoc[leveloffset=+1]

dev_guide/creating_crd_objects.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
toc::[]
1313

1414

15-
include::admin_guide/topics/crd_overview.adoc[]
15+
include::modules/crd_overview.adoc[]
1616

17-
include::admin_guide/topics/create_crd_obj.adoc[leveloffset=+1]
17+
include::modules/create_crd_obj.adoc[leveloffset=+1]
1818

19-
include::admin_guide/topics/manage_crd_obj.adoc[leveloffset=+1]
19+
include::modules/manage_crd_obj.adoc[leveloffset=+1]
File renamed without changes.

admin_guide/topics/create_aggregated_cluster_role_crd.adoc renamed to modules/create_aggregated_cluster_role_crd.adoc

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
////
22
create aggregated cluster role definitions for a custom resource definition
33

4-
This module contains xrefs. If you need to reuse it, make sure the links work
5-
in your assembly. You might need to add a conditional statement to place the
6-
right link for your assembly.
7-
84
Module included in the following assemblies:
95

106
* admin_guide/custom_resource_definitions.adoc
@@ -15,7 +11,7 @@ Module included in the following assemblies:
1511

1612
After you create cluster-scoped CRDs, you can grant permissions to it. If you
1713
use the admin, edit, and view
18-
xref:../architecture/additional_concepts/authorization.adoc#roles[default
14+
xref:architecture/additional_concepts/authorization.adoc#roles[default
1915
cluster roles], take advantage of cluster role aggregation for their rules.
2016

2117
[IMPORTANT]
@@ -26,7 +22,7 @@ assign a rule to a role, you must also assign that verb to roles that have more
2622
permissions. For example, if you grant the "get crontabs" permission to the view
2723
role, you must also grant it to the edit and admin roles. The admin or edit role
2824
is usually assigned to the user that created a project through the
29-
xref:../admin_guide/managing_projects.adoc#modifying-the-template-for-new-projects[project
25+
xref:admin_guide/managing_projects.adoc#modifying-the-template-for-new-projects[project
3026
template].
3127
====
3228

@@ -70,7 +66,7 @@ rules:
7066
<4> Specify this label to grant permissions to the edit default role.
7167
<5> Specify the group name of the CRD.
7268
<6> Specify the plural name of the CRD that these rules apply to.
73-
<7> Specify the xref:../architecture/additional_concepts/authorization.adoc#action[verbs]
69+
<7> Specify the xref:architecture/additional_concepts/authorization.adoc#action[verbs]
7470
that represent the permissions that are granted to the role. For example, apply
7571
read and write permissions to the admin and edit roles and only read permission
7672
to the view role.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)