File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
3131
3232{{ macros.configure_user(name=fluentd_user, groups='mysql') }}
3333
34- # NOTE(frickler): Downgrading elasticsearch gems for compatibility with OSS versions of ES
35- {{ macros.install_packages(fluentd_packages | customizable("packages")) }} \
36- && td-agent-gem install elasticsearch:7.13.0 \
37- && td-agent-gem uninstall "elasticsearch:>7.13.0" \
38- && td-agent-gem uninstall "elasticsearch-api:>7.13.0" \
39- && td-agent-gem uninstall "elasticsearch-transport:>7.13.0"
34+ {{ macros.install_packages(fluentd_packages | customizable("packages")) }}
4035
4136COPY fluentd_sudoers /etc/sudoers.d/kolla_fluentd_sudoers
4237
@@ -57,7 +52,13 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start
5752 'fluent-plugin-rewrite-tag-filter' ,
5853] %}
5954
60- {{ macros.install_fluent_plugins(fluentd_plugins | customizable("plugins")) }}
55+ {# NOTE(frickler): Downgrading elasticsearch gems for compatibility with OSS versions of ES #}
56+ {{ macros.install_fluent_plugins(fluentd_plugins | customizable("plugins")) }} \
57+ && td-agent-gem install elasticsearch:7.13.0 \
58+ && td-agent-gem uninstall "elasticsearch:>7.13.0" \
59+ && td-agent-gem uninstall "elasticsearch-api:>7.13.0" \
60+ && td-agent-gem uninstall "elasticsearch-transport:>7.13.0" \
61+ && td-agent-gem uninstall "elastic-transport:>7.13.0"
6162
6263{% endblock %}
6364
You can’t perform that action at this time.
0 commit comments