Add extraPorts option (#8945) (#8960)

* Add extraPorts option (#8945)

Signed-off-by: Scott Stanton <scott.stanton@veeva.com>

* bump version

Signed-off-by: Scott Stanton <scott.stanton@veeva.com>

* bump version

Signed-off-by: Scott Stanton <scott.stanton@veeva.com>

* fix typo

Signed-off-by: Scott Stanton <scott.stanton@veeva.com>
This commit is contained in:
Scott Stanton
2018-12-14 06:19:03 -08:00
committed by Kubernetes Prow Robot
parent 441af742ba
commit 109ca194cd
4 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: fluent-bit
version: 1.0.3
version: 1.1.0
appVersion: 0.14.9
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
+1
View File
@@ -83,6 +83,7 @@ The following table lists the configurable parameters of the Fluent-Bit chart an
| `extraEntries.input` | Extra entries for existing [INPUT] section | `` |
| `extraEntries.filter` | Extra entries for existing [FILTER] section | `` |
| `extraEntries.output` | Extra entries for existing [OUPUT] section | `` |
| `extraPorts` | List of extra ports | |
| `extraVolumeMounts` | Mount an extra volume, required to mount ssl certificates when elasticsearch has tls enabled | |
| `extraVolume` | Extra volume | |
| `filter.enableExclude` | Enable the use of monitoring for a pod annotation of `fluentbit.io/exclude: true`. If present, discard logs from that pod. | `true` |
+9 -4
View File
@@ -36,11 +36,16 @@ spec:
{{ toYaml .Values.env | indent 10 }}
resources:
{{ toYaml .Values.resources | indent 10 }}
{{- if .Values.metrics.enabled }}
{{- if or .Values.metrics.enabled .Values.extraPorts }}
ports:
- name: metrics
containerPort: 2020
protocol: TCP
{{- if .Values.metrics.enabled }}
- name: metrics
containerPort: 2020
protocol: TCP
{{- end -}}
{{- if .Values.extraPorts }}
{{ toYaml .Values.extraPorts | indent 8 }}
{{- end }}
{{- end }}
volumeMounts:
- name: varlog
+3
View File
@@ -120,6 +120,9 @@ extraEntries:
output: |-
# # >=1 additional Key/Value entrie(s) for existing Ouput section
## Extra ports to add to the daemonset ports section
extraPorts: []
## Extra volumes containing additional files required for fluent-bit to work
## (eg. CA certificates)
## Ref: https://kubernetes.io/docs/concepts/storage/volumes/