Skip to content

Commit

Permalink
fluent-bit: added ability to set extra config reload dirs
Browse files Browse the repository at this point in the history
Signed-off-by: Andrii Chubatiuk <[email protected]>
  • Loading branch information
AndrewChubatiuk committed Oct 21, 2024
1 parent 149d575 commit 35a98a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/fluent-bit/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ containers:
- {{ printf "-webhook-url=http://localhost:%s/api/v2/reload" (toString .Values.metricsPort) }}
- -volume-dir=/watch/config
- -volume-dir=/watch/scripts
{{- range .Values.hotReload.volumeDirs }}
- -volume-dir={{ . }}
{{- end }}
volumeMounts:
- name: config
mountPath: /watch/config
Expand Down
1 change: 1 addition & 0 deletions charts/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -510,3 +510,4 @@ hotReload:
digest:
pullPolicy: IfNotPresent
resources: {}
volumeDirs: []

0 comments on commit 35a98a3

Please sign in to comment.