Skip to content

Commit

Permalink
[stable/logstash] Added envFrom support to logstash container (helm#2…
Browse files Browse the repository at this point in the history
…3416)

Signed-off-by: Vignesh Subramanian <[email protected]>
  • Loading branch information
viggys authored Aug 12, 2020
1 parent f42e3c4 commit b2f720d
Show file tree
Hide file tree
Showing 4 changed files with 12 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: 2.4.0
version: 2.4.1
appVersion: 7.1.1
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 @@ -100,6 +100,7 @@ The following table lists the configurable parameters of the chart and its defau
| `podAnnotations` | Pod annotations | `{}` |
| `podLabels` | Pod labels | `{}` |
| `extraEnv` | Extra pod environment variables | `[]` |
| `envFrom` | Environment variables from configMaps & secrets | `[]` |
| `extraContainers` | Add additional containers | `[]` |
| `extraInitContainers` | Add additional initContainers | `[]` |
| `podManagementPolicy` | podManagementPolicy of the StatefulSet | `OrderedReady` |
Expand Down
4 changes: 4 additions & 0 deletions stable/logstash/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ spec:
{{- end }}
{{- if .Values.extraEnv }}
{{ .Values.extraEnv | toYaml | indent 12 }}
{{- end }}
{{- if .Values.envFrom }}
envFrom:
{{ toYaml .Values.envFrom | indent 12 }}
{{- end }}
resources:
{{ toYaml .Values.resources | indent 12 }}
Expand Down
6 changes: 6 additions & 0 deletions stable/logstash/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,12 @@ podLabels: {}

extraEnv: []

envFrom: []
# - configMapRef:
# name: configMap-name
# - secretRef:
# name: secret-name

extraInitContainers: []
# - name: echo
# image: busybox
Expand Down

0 comments on commit b2f720d

Please sign in to comment.