Skip to content

Commit

Permalink
Support setting extra keys in the [SERVICE] block
Browse files Browse the repository at this point in the history
Fixes aws#510

Fixes aws#559
  • Loading branch information
Vicken Simonian committed Dec 9, 2021
1 parent a78f637 commit e5e8af3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions stable/aws-for-fluent-bit/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ data:
Parsers_File /fluent-bit/etc/parser_extra.conf
{{- end }}

{{- if .Values.service.extraKeys }}
{{ .Values.service.extraKeys | indent 8}}
{{- end }}

[INPUT]
Name tail
Tag {{ .Values.input.tag }}
Expand Down
6 changes: 4 additions & 2 deletions stable/aws-for-fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ fullnameOverride: ""
service:
parsersFiles:
- /fluent-bit/parsers/parsers.conf
# extraKeys: |
# HTTP_Server On
# extraParsers: |
# [PARSER]
# Name logfmt
Expand Down Expand Up @@ -139,7 +141,7 @@ affinity: {}

annotations: {}
# iam.amazonaws.com/role: arn:aws:iam::123456789012:role/role-for-fluent-bit

env: []
## To add extra environment variables to the pods, add as below
# env:
Expand All @@ -157,7 +159,7 @@ env: []
# valueFrom:
# fieldRef:
# fieldPath: spec.nodeName


volumes:
- name: varlog
Expand Down

0 comments on commit e5e8af3

Please sign in to comment.