Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to install plugins in docker image #542

Merged
merged 4 commits into from
Apr 1, 2020

Conversation

sumo-drosiek
Copy link
Contributor

Description

Allow to install plugins basing on values.yaml

Solves #139 for simple plugins (which do not require additional libraries)

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

Copy link
Contributor

@vsinghal13 vsinghal13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sumo-drosiek !

@@ -25,4 +25,13 @@ if [ "$1" = "fluentd" ]; then
fi
fi

# Install custom plugins if specified by user
if [ -n "${ADDITIONAL_PLUGINS}" ]
then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please follow the https://google.github.io/styleguide/shellguide.html#loops
Put ; do and ; then on the same line as the while, for or if.

It'll also be consistent throughout the file this way.

Copy link
Contributor

@perk-sumo perk-sumo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the style for deploy/docker/entrypoint.sh, otherwise 👍

@sumo-drosiek sumo-drosiek force-pushed the drosiek-install-custom-plugins branch from b251aff to 69f2170 Compare April 1, 2020 14:58
@sumo-drosiek sumo-drosiek force-pushed the drosiek-install-custom-plugins branch 2 times, most recently from f864765 to 73324fc Compare April 1, 2020 15:15
@sumo-drosiek sumo-drosiek requested a review from drduke1 April 1, 2020 15:17
@sumo-drosiek
Copy link
Contributor Author

@drduke1 I updated documentation related to code changes. Could you take a look? :)

@sumo-drosiek sumo-drosiek force-pushed the drosiek-install-custom-plugins branch from 73324fc to 65f6d20 Compare April 1, 2020 15:20
@sumo-drosiek sumo-drosiek merged commit 97e0968 into master Apr 1, 2020
@sumo-drosiek sumo-drosiek deleted the drosiek-install-custom-plugins branch April 1, 2020 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants