Skip to content

Commit 03ac2e5

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

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,4 +145,7 @@ rules:
145145
- get
146146
- watch
147147
- patch
148+
{{- if .Values.extraRbacRules }}
149+
{{- toYaml .Values.extraRbacRules | nindent 2 }}
150+
{{- end }}
148151
{{- end }}

charts/fluent-operator/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ operator:
3434
name: fluent-operator
3535
clusterRoleBinding:
3636
name: fluent-operator
37+
# Adds additional permissions to Fluent Operator, since operator cannot give permissions it does not have.
38+
# Use case includes adding permission to a custom fluent-bit deployment to access kubelet.
39+
AdditionalRbacRules: {}
3740
# Container security context for Fluent Operator container. Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
3841
securityContext: {}
3942
# Fluent Operator resources. Usually user needn't to adjust these.

0 commit comments

Comments
 (0)