-
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.
Include admin ClusterRole and add it to the scaffold
- Loading branch information
Showing
148 changed files
with
1,424 additions
and
21,563 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
25 changes: 0 additions & 25 deletions
25
docs/book/src/multiversion-tutorial/testdata/project/.devcontainer/devcontainer.json
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
docs/book/src/multiversion-tutorial/testdata/project/.devcontainer/post-install.sh
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
docs/book/src/multiversion-tutorial/testdata/project/.dockerignore
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
docs/book/src/multiversion-tutorial/testdata/project/.github/workflows/lint.yml
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
docs/book/src/multiversion-tutorial/testdata/project/.github/workflows/test-e2e.yml
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
docs/book/src/multiversion-tutorial/testdata/project/.github/workflows/test.yml
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
docs/book/src/multiversion-tutorial/testdata/project/.gitignore
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.