Skip to content

Commit

Permalink
Bugfix: should not be able to edit tenant if readOnly is set (#2157)
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd authored Jun 11, 2024
1 parent 45ef52d commit 7a2834c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions helm/operator/templates/console-clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,13 @@ rules:
resources:
- '*'
verbs:
{{- if not .Values.console.readOnly }}
- '*'
{{- else }}
- get
- list
- watch
{{- end}}
- apiGroups:
- min.io
resources:
Expand Down

0 comments on commit 7a2834c

Please sign in to comment.