Skip to content

Commit afcd6d5

Browse files
ben-dovcw-Guo
authored andcommitted
.
Signed-off-by: ben-dov <ben.d@claroty.com>
1 parent 03ac2e5 commit afcd6d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

charts/fluent-operator/templates/fluent-operator-clusterRole.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ rules:
145145
- get
146146
- watch
147147
- patch
148-
{{- if .Values.extraRbacRules }}
149-
{{- toYaml .Values.extraRbacRules | nindent 2 }}
148+
{{- with .Values.rbac.AdditionalRules }}
149+
{{- toYaml . | nindent 2 }}
150150
{{- end }}
151151
{{- end }}

charts/fluent-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ operator:
3636
name: fluent-operator
3737
# Adds additional permissions to Fluent Operator, since operator cannot give permissions it does not have.
3838
# Use case includes adding permission to a custom fluent-bit deployment to access kubelet.
39-
AdditionalRbacRules: {}
39+
AdditionalRules: {}
4040
# Container security context for Fluent Operator container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
4141
securityContext: {}
4242
# Fluent Operator resources. Usually user needn't to adjust these.

0 commit comments

Comments
 (0)