Skip to content

Commit

Permalink
Support setting fs-dir for fs datasource (#449)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeesmon Jacob <[email protected]>
  • Loading branch information
jeesmon authored Nov 8, 2024
1 parent 20e6130 commit 377758c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/log-router/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ spec:
{{- if .Values.adminNamespace }}
- --admin-namespace={{ .Values.adminNamespace }}
{{- end }}
{{- if eq .Values.datasource "fs" }}
- --fs-dir={{ required "fsDatasourceDir is required for fs datasource" .Values.fsDatasourceDir }}
{{- end }}
volumeMounts:
- name: fluentconf
mountPath: /fluentd/etc
Expand Down
3 changes: 3 additions & 0 deletions charts/log-router/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ crdMigrationMode: false

defaultConfigmap: "fluentd-config"

# Use with datasource: fs, the fsDataSourceDir will be used for finding config files
fsDatasourceDir: ""

image:
repository: vmware/kube-fluentd-operator
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 377758c

Please sign in to comment.