-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from guardian/ash/InitContainer
Use aws-for-fluent-bit `init` image and add ECS Metadata
- Loading branch information
Showing
3 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,16 @@ | ||
FROM amazon/aws-for-fluent-bit:latest | ||
ADD parsers.conf /parsers.conf | ||
ADD custom.conf /custom.conf | ||
FROM amazon/aws-for-fluent-bit:init-2.32.0 | ||
|
||
# Environment variables are used to specify which config files to load | ||
# https://github.com/aws/aws-for-fluent-bit/blob/mainline/use_cases/init-process-for-fluent-bit/README.md#how-to-use-multi-config-feature | ||
|
||
ENV aws_fluent_bit_init_file_1 /guardian-parsers.conf | ||
|
||
# Added by aws-for-fluent-bit base image | ||
# https://github.com/aws/aws-for-fluent-bit/blob/develop/scripts/dockerfiles/Dockerfile.main-release#L49 | ||
ENV aws_fluent_bit_init_file_2 /ecs/ecs-metadata.conf | ||
|
||
# This config file must go last as it applies a `parser` filter which will interfere with any filters that are run before it (config files loaded in reverse order) | ||
ENV aws_fluent_bit_init_file_3 /guardian.conf | ||
|
||
ADD guardian-parsers.conf /guardian-parsers.conf | ||
ADD guardian.conf /guardian.conf |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
[SERVICE] | ||
Parsers_File /parsers.conf | ||
|
||
[FILTER] | ||
Name modify | ||
Match * | ||
|