Skip to content

Commit

Permalink
support hostport filed for kafka
Browse files Browse the repository at this point in the history
Signed-off-by: Kohei Morita <[email protected]>
  • Loading branch information
mrtc0 authored and poiana committed Feb 20, 2021
1 parent e75e690 commit 2b4c940
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions falcosidekick/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ numbering uses [semantic versioning](http://semver.org).

Before release 0.1.20, the helm chart can be found in `falcosidekick` [repository](https://github.com/falcosecurity/falcosidekick/tree/master/deploy/helm/falcosidekick).

## 0.2.8

### Fixes

* FIxed to specify `kafka.hostPort` instead of `kafka.url`

## 0.2.7

### Fixes
Expand Down
2 changes: 1 addition & 1 deletion falcosidekick/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 2.21.0
description: A simple daemon to help you with falco's outputs
icon: https://raw.githubusercontent.com/falcosecurity/falcosidekick/master/imgs/falcosidekick_color.png
name: falcosidekick
version: 0.2.7
version: 0.2.8
keywords:
- monitoring
- security
Expand Down
2 changes: 1 addition & 1 deletion falcosidekick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ The following table lists the main configurable parameters of the Falcosidekick
| `config.googlechat.outputformat` | `all` (default), `text` (only text is displayed in Google chat) | `all` |
| `config.googlechat.minimumpriority` | minimum priority of event for using use this output, order is `emergency|alert|critical|error|warning|notice|informational|debug or ""` | `debug` |
| `config.googlechat.messageformat` | a Go template to format Google Chat Text above Attachment, displayed in addition to the output from `config.googlechat.outputformat`. If empty, no Text is displayed before Attachment | |
| `config.kafka.url` | Apache Kafka URL (ex: http://kafka). Defaults to port 9092 if no port is specified after the domain, if not empty, Kafka output is *enabled* | |
| `config.kafka.hostport` | The Host:Port of the Kafka (ex: kafka:9092). if not empty, Kafka output is *enabled* | |
| `config.kafka.topic` | `all` (default), `text` (only text is displayed in Google chat) | `all` |
| `config.kafka.partition` | a Go template to format Google Chat Text above Attachment, displayed in addition to the output from `config.googlechat.outputformat`. If empty, no Text is displayed before Attachment | |
| `config.kafka.minimumpriority` | minimum priority of event for using use this output, order is `emergency|alert|critical|error|warning|notice|informational|debug or ""` | `debug` |
Expand Down
2 changes: 1 addition & 1 deletion falcosidekick/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ data:
AZURE_EVENTHUB_MINIMUMPRIORITY: "{{ .Values.config.azure.eventHub.minimumpriority | b64enc }}"

# Kafka Output
KAFKA_URL: "{{ .Values.config.kafka.url | b64enc }}"
KAFKA_HOSTPORT: "{{ .Values.config.kafka.hostport | b64enc }}"
KAFKA_TOPIC: "{{ .Values.config.kafka.topic | b64enc }}"
KAFKA_PARTITION: "{{ .Values.config.kafka.partition | b64enc }}"
KAFKA_MINIMUMPRIORITY: "{{ .Values.config.kafka.minimumpriority | b64enc }}"
Expand Down
2 changes: 1 addition & 1 deletion falcosidekick/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ config:
messageformat: ""

kafka:
url: ""
hostport: ""
topic: ""
partition: "0"
messageformat: ""
Expand Down

0 comments on commit 2b4c940

Please sign in to comment.