Skip to content

Commit

Permalink
fixing bitnami
Browse files Browse the repository at this point in the history
Signed-off-by: Rajat <[email protected]>
  • Loading branch information
Rajat0002 committed Dec 13, 2023
1 parent 140af36 commit 0316ab1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
10 changes: 1 addition & 9 deletions community_images/fluent-bit/bitnami/config/fluent-bit.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@
# by default 'info' is set, that means it includes 'error' and 'warning'.
log_level info

# Parsers File
# ============
# specify an optional 'Parsers' configuration file
#parsers_file parsers.conf

# Plugins File
# ============
# specify an optional 'Plugins' configuration file to load external plugins.
#plugins_file plugins.conf


# HTTP Server
# ===========
Expand Down
2 changes: 2 additions & 0 deletions community_images/fluent-bit/bitnami/config/plugins.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[PLUGINS]
# Path /path/to/out_gstdout.so
2 changes: 2 additions & 0 deletions community_images/fluent-bit/bitnami/dc_coverage.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ sleep 10

# log for debugging
docker inspect "${CONTAINER_NAME}"
docker cp "${SCRIPTPATH}"/config/plugins.config "${CONTAINER_NAME}":/opt/bitnami/fluent-bit/conf/plugins.conf
sleep 5
docker cp "${SCRIPTPATH}"/config/fluent-bit.config "${CONTAINER_NAME}":/tmp/fluent-bit.config
sleep 10
docker cp "${SCRIPTPATH}"/scripts/fluent-bit_coverage_script.sh "${CONTAINER_NAME}":/tmp/fluent-bit_coverage_script.sh
Expand Down
4 changes: 1 addition & 3 deletions community_images/fluent-bit/bitnami/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,10 @@ version: '2'
services:
fluent-bit:
image: ${FLUENT_BIT_IMAGE_REPOSITORY}:${FLUENT_BIT_IMAGE_TAG}
volumes:
- ./scripts/fluent-bit_coverage_script.sh:/tmp/coverage_script.sh
cap_add:
- SYS_PTRACE
ports:
- '2020:2020'
- '8020:8020'

prometheus:
image: docker.io/rapidfort/prometheus
Expand Down
Empty file modified community_images/fluent-bit/bitnami/k8s_coverage.sh
100644 → 100755
Empty file.

0 comments on commit 0316ab1

Please sign in to comment.