-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix install 1.0 bug when existing KB 0.9 (#8457)
(cherry picked from commit 6c08d23)
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
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
26 changes: 26 additions & 0 deletions
26
deploy/helm/templates/rbac/shardingdefinition_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# permissions for end users to edit shardingdefinitions. | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ include "kubeblocks.fullname" . }}-shardingdefinition-editor-role | ||
labels: | ||
{{- include "kubeblocks.labels" . | nindent 4 }} | ||
rules: | ||
- apiGroups: | ||
- apps.kubeblocks.io | ||
resources: | ||
- shardingdefinitions | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- apiGroups: | ||
- apps.kubeblocks.io | ||
resources: | ||
- shardingdefinitions/status | ||
verbs: | ||
- get |