Skip to content

Commit

Permalink
[stable/logstash] Mount Custom Binary Files (helm#13534)
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Jaisingh <[email protected]>
  • Loading branch information
abhishekjiitr authored and k8s-ci-robot committed May 9, 2019
1 parent 52dc4bc commit 393b21a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/logstash/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Logstash is an open source, server-side data processing pipeline
icon: https://www.elastic.co/assets/blt86e4472872eed314/logo-elastic-logstash-lt.svg
home: https://www.elastic.co/products/logstash
name: logstash
version: 1.8.0
version: 1.9.0
appVersion: 6.7.0
sources:
- https://www.docker.elastic.co
Expand Down
1 change: 1 addition & 0 deletions stable/logstash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ The following table lists the configurable parameters of the chart and its defau
| `config` | Logstash configuration key-values | (see `values.yaml`) |
| `patterns` | Logstash patterns configuration | `nil` |
| `files` | Logstash custom files configuration | `nil` |
| `binaryFiles` | Logstash custom binary files | `nil` |
| `inputs` | Logstash inputs configuration | beats |
| `filters` | Logstash filters configuration | `nil` |
| `outputs` | Logstash outputs configuration | elasticsearch |
Expand Down
6 changes: 6 additions & 0 deletions stable/logstash/templates/files-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,9 @@ data:
{{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}
binaryData:
{{- range $key, $value := .Values.binaryFiles }}
{{ $key }}: |-
{{ $value | indent 4 }}
{{- end }}

5 changes: 5 additions & 0 deletions stable/logstash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,11 @@ files:
# "aliases": {}
# }

## Custom binary files encoded as base64 string that can be referenced by plugins
## Each base64 encoded string is decoded & mounted as a file under logstash home directory under
## the files subdirectory.
binaryFiles: {}

## NOTE: To achieve multiple pipelines with this chart, current best practice
## is to maintain one pipeline per chart release. In this way configuration is
## simplified and pipelines are more isolated from one another.
Expand Down

0 comments on commit 393b21a

Please sign in to comment.