Skip to content

Commit

Permalink
introduced variable fluentConfDir in order to configure conf location (
Browse files Browse the repository at this point in the history
…#36)

* introduced variable fluentConfDir in order to configure conf location

Signed-off-by: Etienne Journet <[email protected]>

* Added default value, README and signature

Signed-off-by: Etienne Journet <[email protected]>

* Corrected version number

Signed-off-by: Etienne Journet <[email protected]>

Co-authored-by: Etienne Journet <[email protected]>
  • Loading branch information
etiennejournet and Etienne Journet authored Dec 2, 2020
1 parent 8cbbe9b commit 698d207
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/fluentd-elasticsearch/Chart.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: fluentd-elasticsearch
version: 11.1.0
version: 11.2.0
appVersion: 3.1.0
type: application
home: https://www.fluentd.org/
Expand Down
1 change: 1 addition & 0 deletions charts/fluentd-elasticsearch/README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ The following table lists the configurable parameters of the Fluentd elasticsear
| `secret` | List of env vars that are set from secrets and added to the fluentd pods | `[]` |
| `extraVolumeMounts` | Mount extra volume, required to mount ssl certificates when ES has tls enabled | `[]` |
| `extraVolume` | Extra volume | `[]` |
| `fluentConfDir` | Specify where to mount fluentd location | `/etc/fluent/config.d` |
| `hostLogDir.varLog` | Specify where fluentd can find var log | `/var/log` |
| `hostLogDir.dockerContainers` | Specify where fluentd can find logs for docker container | `/var/lib/docker/containers` |
| `hostLogDir.libSystemdDir` | Specify where fluentd can find logs for lib Systemd | `/usr/lib64` |
Expand Down
2 changes: 1 addition & 1 deletion charts/fluentd-elasticsearch/templates/daemonset.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ spec:
mountPath: {{ .Values.hostLogDir.libSystemdDir }}
readOnly: true
- name: config-volume
mountPath: /etc/fluent/config.d
mountPath: {{ .Values.fluentConfDir }}
{{- if .Values.extraVolumeMounts }}
{{ toYaml .Values.extraVolumeMounts | indent 8 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions charts/fluentd-elasticsearch/values.yaml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ awsSigningSidecar:
# Pods to make scheduling of the pending Pod possible.
priorityClassName: ""

fluentConfDir: "/etc/fluent/config.d"

# Specify where fluentd can find logs
hostLogDir:
varLog: /var/log
Expand Down

0 comments on commit 698d207

Please sign in to comment.