Browse Source

cast openshift_logging_use_mux_client to bool

Rich Megginson 8 years ago
parent
commit
8e9453047b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      roles/openshift_logging/templates/fluentd.j2

+ 2 - 2
roles/openshift_logging/templates/fluentd.j2

@@ -59,7 +59,7 @@ spec:
         - name: dockercfg
           mountPath: /etc/sysconfig/docker
           readOnly: true
-{% if openshift_logging_use_mux_client %}
+{% if openshift_logging_use_mux_client | bool %}
         - name: muxcerts
           mountPath: /etc/fluent/muxkeys
           readOnly: true
@@ -154,7 +154,7 @@ spec:
       - name: dockercfg
         hostPath:
           path: /etc/sysconfig/docker
-{% if openshift_logging_use_mux_client %}
+{% if openshift_logging_use_mux_client | bool %}
       - name: muxcerts
         secret:
           secretName: logging-mux