Skip to content

Commit

Permalink
Fix regression by pr helm#13000 (helm#13925)
Browse files Browse the repository at this point in the history
This reverts the incorrect patch merged as part of pr helm#13000 as
well as adds warnings so that hopefully this never happens again.`

Signed-off-by: Kevin Fox <Kevin.Fox@pnnl.gov>
  • Loading branch information
kfox1111 authored and Amine Benseddik committed May 21, 2019
1 parent 1fd2232 commit babaae6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion stable/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: fluent-bit
version: 1.10.2
version: 1.10.3
appVersion: 1.0.6
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
keywords:
Expand Down
8 changes: 4 additions & 4 deletions stable/fluent-bit/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ data:
Max_Entries {{ .Values.input.systemd.maxEntries }}
Read_From_Tail {{ .Values.input.systemd.readFromTail }}
{{- end }}
{{ .Values.extraEntries.input | indent 4 }}
{{ .Values.extraEntries.input | indent 8 }}

fluent-bit-filter.conf: |-
[FILTER]
Expand All @@ -65,7 +65,7 @@ data:
{{- if .Values.filter.enableExclude }}
K8S-Logging.Exclude On
{{- end }}
{{ .Values.extraEntries.filter | indent 4 }}
{{ .Values.extraEntries.filter | indent 8 }}

fluent-bit-output.conf: |-
{{ if eq .Values.backend.type "test" }}
Expand Down Expand Up @@ -146,7 +146,7 @@ data:
{{- end }}
Format {{ .Values.backend.http.format }}
{{- end }}
{{ .Values.extraEntries.output | indent 4 }}
{{ .Values.extraEntries.output | indent 8 }}


fluent-bit.conf: |-
Expand Down Expand Up @@ -185,7 +185,7 @@ data:
Decode_Field_As {{ .decodeFieldAs }} {{ .decodeField | default "log" }}
{{- end}}
{{- if .extraEntries }}
{{ .extraEntries | indent 4 }}
{{ .extraEntries | indent 8 }}
{{- end }}
{{ end }}
{{- end }}
Expand Down
12 changes: 12 additions & 0 deletions stable/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,31 @@ fullConfigMap: false
##
existingConfigMap: ""


# NOTE If you want to add extra sections, add them here, inbetween the includes,
# wherever they need to go. Sections order matters.

rawConfig: |-
@INCLUDE fluent-bit-service.conf
@INCLUDE fluent-bit-input.conf
@INCLUDE fluent-bit-filter.conf
@INCLUDE fluent-bit-output.conf
# WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# This is to add extra entries to an existing section, NOT for adding new sections
# Do not submit bugs against indent being wrong. Add your new sections to rawConfig
# instead.
#
extraEntries:
input: |-
# # >=1 additional Key/Value entrie(s) for existing Input section
filter: |-
# # >=1 additional Key/Value entrie(s) for existing Filter section
output: |-
# # >=1 additional Key/Value entrie(s) for existing Ouput section
# WARNING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


## Extra ports to add to the daemonset ports section
extraPorts: []
Expand Down

0 comments on commit babaae6

Please sign in to comment.