-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4299 from damsien/master
✨ Include admin ClusterRole and add it to the scaffold
- Loading branch information
Showing
79 changed files
with
1,453 additions
and
64 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
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,27 @@ | ||
# This rule is not used by the project project itself. | ||
# It is provided to allow the cluster admin to help manage permissions for users. | ||
# | ||
# Grants full permissions ('*') over batch.tutorial.kubebuilder.io. | ||
# This role is intended for users authorized to modify roles and bindings within the cluster, | ||
# enabling 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 |
8 changes: 7 additions & 1 deletion
8
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
27 changes: 27 additions & 0 deletions
27
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,27 @@ | ||
# This rule is not used by the project project itself. | ||
# It is provided to allow the cluster admin to help manage permissions for users. | ||
# | ||
# Grants full permissions ('*') over cache.example.com. | ||
# This role is intended for users authorized to modify roles and bindings within the cluster, | ||
# enabling 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 |
8 changes: 7 additions & 1 deletion
8
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
27 changes: 27 additions & 0 deletions
27
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,27 @@ | ||
# This rule is not used by the project project itself. | ||
# It is provided to allow the cluster admin to help manage permissions for users. | ||
# | ||
# Grants full permissions ('*') over batch.tutorial.kubebuilder.io. | ||
# This role is intended for users authorized to modify roles and bindings within the cluster, | ||
# enabling 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 |
8 changes: 7 additions & 1 deletion
8
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.