Skip to content

Commit

Permalink
Add extraOutputs support for kinesis_streams plugin ConfigMap (#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
moshiaiz authored Feb 4, 2025
1 parent 1e2d874 commit 3eb7a62
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/aws-for-fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: aws-for-fluent-bit
description: A Helm chart to deploy aws-for-fluent-bit project
version: 0.1.34
version: 0.1.35
appVersion: 2.32.2.20240516
home: https://github.com/aws/eks-charts
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
Expand Down
1 change: 1 addition & 0 deletions stable/aws-for-fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ helm delete aws-for-fluent-bit --namespace kube-system
| `kinesis_streams.log_key` | By default, the whole log record will be sent to Kinesis. If you specify a key name with this option, then only the value of that key will be sent to Kinesis. For example, if you are using the Fluentd Docker log driver, you can specify `log_key log` and only the log message will be sent to Kinesis. | |
| `kinesis_streams.auto_retry_requests` | Immediately retry failed requests to AWS services once. This option does not affect the normal Fluent Bit retry mechanism with backoff. Instead, it enables an immediate retry with no delay for networking errors, which may help improve throughput when there are transient/random networking issues. This option defaults to `true`. | |
| `kinesis_streams.external_id` | Specify an external ID for the STS API, can be used with the role_arn parameter if your role requries an external ID. | |
| `kinesis_streams.extraOutputs` | Append extra outputs with value | `""` |
| `kinesis.enabled` | Whether this plugin should be enabled or not, [details](https://github.com/aws/amazon-kinesis-streams-for-fluent-bit) | `false` | ✔
| `kinesis.match` | The log filter | `"*"` | ✔
| `kinesis.region` | The region which your Kinesis Data Stream is in. | `"us-east-1"` | ✔
Expand Down
3 changes: 3 additions & 0 deletions stable/aws-for-fluent-bit/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@ data:
{{- if .Values.kinesis_streams.log_key }}
log_key {{ .Values.kinesis_streams.log_key }}
{{- end }}
{{- if .Values.kinesis_streams.extraOutputs }}
{{ .Values.kinesis_streams.extraOutputs | indent 8 }}
{{- end }}
{{- end }}

{{- if .Values.elasticsearch.enabled }}
Expand Down
2 changes: 2 additions & 0 deletions stable/aws-for-fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ kinesis_streams:
external_id:
auto_retry_requests:
log_key:
# extraOutputs: |
# ...

elasticsearch:
enabled: false
Expand Down

0 comments on commit 3eb7a62

Please # to comment.