Skip to content

Commit

Permalink
chore: add necessary rbac of operator
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 committed Aug 3, 2023
1 parent 342ecd0 commit 12195fc
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/greptimedb-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kubeVersion: ">=1.18.0-0"
description: The greptimedb-operator Helm chart for Kubernetes
name: greptimedb-operator
appVersion: 0.1.0-alpha.12
version: 0.1.1-alpha.8
version: 0.1.1-alpha.9
type: application
home: https://github.com/GreptimeTeam/greptimedb-operator
sources:
Expand Down
31 changes: 23 additions & 8 deletions charts/greptimedb-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,23 @@ rules:
- patch
- update
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- get
- apiGroups:
- ""
resources:
- events
verbs:
- create
- get
- list
- patch
- watch
- apiGroups:
- ""
resources:
Expand All @@ -56,6 +73,12 @@ rules:
- get
- list
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -105,12 +128,4 @@ rules:
- patch
- update
- watch
- apiGroups:
- ''
resources:
- secrets
verbs:
- get
- list
- watch
{{- end }}

0 comments on commit 12195fc

Please sign in to comment.