summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_mux
diff options
context:
space:
mode:
authorewolinetz <ewolinet@redhat.com>2017-07-27 11:57:07 -0500
committerewolinetz <ewolinet@redhat.com>2017-07-27 11:57:07 -0500
commit6ab204b03a05c04b024b1f7b1807a840ace550d1 (patch)
treee871f2c8169234ba4f7ee71e83b33fbf6555cdea /roles/openshift_logging_mux
parentc2fd5d29c84bf0351efa5af1acc757cf602d5ed5 (diff)
downloadopenshift-6ab204b03a05c04b024b1f7b1807a840ace550d1.tar.gz
openshift-6ab204b03a05c04b024b1f7b1807a840ace550d1.tar.bz2
openshift-6ab204b03a05c04b024b1f7b1807a840ace550d1.tar.xz
openshift-6ab204b03a05c04b024b1f7b1807a840ace550d1.zip
Updating template parameter replica to be more unique to avoid var scope creeping
Diffstat (limited to 'roles/openshift_logging_mux')
-rw-r--r--roles/openshift_logging_mux/tasks/main.yaml2
-rw-r--r--roles/openshift_logging_mux/templates/mux.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/roles/openshift_logging_mux/tasks/main.yaml b/roles/openshift_logging_mux/tasks/main.yaml
index 54af40070..02815806a 100644
--- a/roles/openshift_logging_mux/tasks/main.yaml
+++ b/roles/openshift_logging_mux/tasks/main.yaml
@@ -172,7 +172,7 @@
ops_port: "{{ openshift_logging_mux_ops_port }}"
mux_cpu_limit: "{{ openshift_logging_mux_cpu_limit }}"
mux_memory_limit: "{{ openshift_logging_mux_memory_limit }}"
- replicas: "{{ openshift_logging_mux_replicas | default(1) }}"
+ mux_replicas: "{{ openshift_logging_mux_replicas | default(1) }}"
mux_node_selector: "{{ openshift_logging_mux_nodeselector | default({}) }}"
check_mode: no
changed_when: no
diff --git a/roles/openshift_logging_mux/templates/mux.j2 b/roles/openshift_logging_mux/templates/mux.j2
index 226294847..2b3b64bb8 100644
--- a/roles/openshift_logging_mux/templates/mux.j2
+++ b/roles/openshift_logging_mux/templates/mux.j2
@@ -7,7 +7,7 @@ metadata:
component: "{{component}}"
logging-infra: "{{logging_component}}"
spec:
- replicas: {{replicas|default(1)}}
+ replicas: {{mux_replicas|default(1)}}
selector:
provider: openshift
component: "{{component}}"