diff options
author | Jan Wozniak <jwozniak@redhat.com> | 2017-08-01 15:24:41 +0200 |
---|---|---|
committer | Jan Wozniak <jwozniak@redhat.com> | 2017-09-26 10:50:15 +0200 |
commit | 4e30a4243a6c9692c24a574ecfd83c2bcd1e2785 (patch) | |
tree | cd85ead0fd1390f134ab9b936b8317c634a600e4 /roles/openshift_logging_fluentd | |
parent | 0b84e0d47b5912afb6db4f1964cbb06defcab09f (diff) | |
download | openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.tar.gz openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.tar.bz2 openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.tar.xz openshift-4e30a4243a6c9692c24a574ecfd83c2bcd1e2785.zip |
logging: introducing event router
- eventrouter has its own role 'openshift_logging_eventrouter' written as
a template
- 'openshift_logging_install_eventrouter' controls whether it gets included
in the playbook or not
- deployed by default to 'default' namespace
Diffstat (limited to 'roles/openshift_logging_fluentd')
-rw-r--r-- | roles/openshift_logging_fluentd/templates/fluentd.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_logging_fluentd/templates/fluentd.j2 b/roles/openshift_logging_fluentd/templates/fluentd.j2 index a4afb6618..afa67a6a8 100644 --- a/roles/openshift_logging_fluentd/templates/fluentd.j2 +++ b/roles/openshift_logging_fluentd/templates/fluentd.j2 @@ -120,6 +120,10 @@ spec: - name: "MUX_CLIENT_MODE" value: "{{ openshift_logging_mux_client_mode }}" {% endif %} +{% if openshift_logging_install_eventrouter is defined and openshift_logging_install_eventrouter %} + - name: "TRANSFORM_EVENTS" + value: "true" +{% endif %} volumes: - name: runlogjournal hostPath: |