-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Include admin ClusterRole and add it to the scaffold
- Loading branch information
Showing
79 changed files
with
1,490 additions
and
57 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
docs/book/src/cronjob-tutorial/testdata/project/config/rbac/cronjob_admin_role.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This rule is not used by the project project itself. | ||
# It is provided to allow the cluster admin to help manage permissions for users. | ||
# | ||
# Provides full permissions (create, update, delete) over all custom resource objects | ||
# for the specified API resources across the cluster. In addition to resource management, | ||
# it grants users the ability to modify roles and bindings within the cluster, | ||
# allowing them to delegate specific permissions to other users or groups as needed. | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: project | ||
app.kubernetes.io/managed-by: kustomize | ||
name: cronjob-admin-role | ||
rules: | ||
- apiGroups: | ||
- batch.tutorial.kubebuilder.io | ||
resources: | ||
- cronjobs | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- batch.tutorial.kubebuilder.io | ||
resources: | ||
- cronjobs/status | ||
verbs: | ||
- get |
9 changes: 8 additions & 1 deletion
9
docs/book/src/cronjob-tutorial/testdata/project/config/rbac/cronjob_editor_role.yaml
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
8 changes: 7 additions & 1 deletion
8
docs/book/src/cronjob-tutorial/testdata/project/config/rbac/cronjob_viewer_role.yaml
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
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
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
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
28 changes: 28 additions & 0 deletions
28
docs/book/src/getting-started/testdata/project/config/rbac/memcached_admin_role.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This rule is not used by the project project itself. | ||
# It is provided to allow the cluster admin to help manage permissions for users. | ||
# | ||
# Provides full permissions (create, update, delete) over all custom resource objects | ||
# for the specified API resources across the cluster. In addition to resource management, | ||
# it grants users the ability to modify roles and bindings within the cluster, | ||
# allowing them to delegate specific permissions to other users or groups as needed. | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: project | ||
app.kubernetes.io/managed-by: kustomize | ||
name: memcached-admin-role | ||
rules: | ||
- apiGroups: | ||
- cache.example.com | ||
resources: | ||
- memcacheds | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- cache.example.com | ||
resources: | ||
- memcacheds/status | ||
verbs: | ||
- get |
9 changes: 8 additions & 1 deletion
9
docs/book/src/getting-started/testdata/project/config/rbac/memcached_editor_role.yaml
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
8 changes: 7 additions & 1 deletion
8
docs/book/src/getting-started/testdata/project/config/rbac/memcached_viewer_role.yaml
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
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
28 changes: 28 additions & 0 deletions
28
docs/book/src/multiversion-tutorial/testdata/project/config/rbac/cronjob_admin_role.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This rule is not used by the project project itself. | ||
# It is provided to allow the cluster admin to help manage permissions for users. | ||
# | ||
# Provides full permissions (create, update, delete) over all custom resource objects | ||
# for the specified API resources across the cluster. In addition to resource management, | ||
# it grants users the ability to modify roles and bindings within the cluster, | ||
# allowing them to delegate specific permissions to other users or groups as needed. | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: project | ||
app.kubernetes.io/managed-by: kustomize | ||
name: cronjob-admin-role | ||
rules: | ||
- apiGroups: | ||
- batch.tutorial.kubebuilder.io | ||
resources: | ||
- cronjobs | ||
verbs: | ||
- '*' | ||
- apiGroups: | ||
- batch.tutorial.kubebuilder.io | ||
resources: | ||
- cronjobs/status | ||
verbs: | ||
- get |
9 changes: 8 additions & 1 deletion
9
docs/book/src/multiversion-tutorial/testdata/project/config/rbac/cronjob_editor_role.yaml
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
8 changes: 7 additions & 1 deletion
8
docs/book/src/multiversion-tutorial/testdata/project/config/rbac/cronjob_viewer_role.yaml
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
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
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
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
Oops, something went wrong.