-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vendor upgrade, elasticsearch => opensearch, pulumi upgrade
- Loading branch information
1 parent
e4d7870
commit 5b1517e
Showing
16 changed files
with
3,747 additions
and
2,132 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
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
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,4 +1,4 @@ | ||
FROM rockylinux/rockylinux:9.3 | ||
FROM rockylinux/rockylinux:9.4 | ||
|
||
SHELL ["/bin/bash", "-c"] | ||
|
||
|
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,17 @@ | ||
FROM fluent/fluentd:v1.16 | ||
FROM fluent/fluentd:v1.17 | ||
|
||
# Use root account to use apk | ||
USER root | ||
|
||
# below RUN includes plugin as examples opensearch is not required | ||
# you may customize including plugins as you wish | ||
RUN apk add --no-cache --update --virtual .build-deps \ | ||
sudo build-base ruby-dev \ | ||
&& sudo gem install fluent-plugin-opensearch \ | ||
&& sudo gem sources --clear-all \ | ||
&& apk del .build-deps \ | ||
&& rm -rf /tmp/* /var/tmp/* /usr/lib/ruby/gems/*/cache/*.gem | ||
|
||
COPY docker/production/node-fluentd/files / | ||
|
||
USER fluent |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh | ||
|
||
#source vars if file exists | ||
DEFAULT=/etc/default/fluentd | ||
|
||
if [ -r $DEFAULT ]; then | ||
set -o allexport | ||
. $DEFAULT | ||
set +o allexport | ||
fi | ||
|
||
# If the user has supplied only arguments append them to `fluentd` command | ||
if [ "${1#-}" != "$1" ]; then | ||
set -- fluentd "$@" | ||
fi | ||
|
||
# If user does not supply config file or plugins, use the default | ||
if [ "$1" = "fluentd" ]; then | ||
if ! echo $@ | grep -e ' \-c' -e ' \-\-config' ; then | ||
set -- "$@" --config /fluentd/etc/${FLUENTD_CONF} | ||
fi | ||
|
||
if ! echo $@ | grep -e ' \-p' -e ' \-\-plugin' ; then | ||
set -- "$@" --plugin /fluentd/plugins | ||
fi | ||
fi | ||
|
||
exec "$@" |
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
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
Oops, something went wrong.