summaryrefslogtreecommitdiffstats
path: root/roles/openshift_metrics/tasks/main.yaml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-19 13:53:08 -0400
committerScott Dodson <sdodson@redhat.com>2016-08-24 16:02:49 -0400
commit6765f1f398c1a3b8d72e1a07085c953f5a1ad810 (patch)
tree6789321fbbb6a873a5afe59c594594b1a9897169 /roles/openshift_metrics/tasks/main.yaml
parent7999e06a0ea70fb9e7967fd14bf4a96748b3b4da (diff)
downloadopenshift-6765f1f398c1a3b8d72e1a07085c953f5a1ad810.tar.gz
openshift-6765f1f398c1a3b8d72e1a07085c953f5a1ad810.tar.bz2
openshift-6765f1f398c1a3b8d72e1a07085c953f5a1ad810.tar.xz
openshift-6765f1f398c1a3b8d72e1a07085c953f5a1ad810.zip
Rely on IMAGE_PREFIX and IMAGE_VERSION defaults from the templates themselves
Diffstat (limited to 'roles/openshift_metrics/tasks/main.yaml')
-rw-r--r--roles/openshift_metrics/tasks/main.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/main.yaml b/roles/openshift_metrics/tasks/main.yaml
index b20cd4b0e..8a6712468 100644
--- a/roles/openshift_metrics/tasks/main.yaml
+++ b/roles/openshift_metrics/tasks/main.yaml
@@ -39,6 +39,8 @@
metrics_template_dir: "/usr/share/openshift/examples/infrastructure-templates/{{ 'origin' if deployment_type == 'origin' else 'enterprise' }}"
cassandra_nodes: "{{ ',CASSANDRA_NODES=' ~ openshift.hosted.metrics.cassandra_nodes if 'cassandra' in openshift.hosted.metrics else '' }}"
cassandra_pv_size: "{{ ',CASSANDRA_PV_SIZE=' ~ openshift.hosted.metrics.storage_volume_size if openshift.hosted.metrics.storage_volume_size | default(none) is not none else '' }}"
+ image_prefix: "{{ ',IMAGE_PREFIX=' ~ openshift.hosted.metrics.deployer_prefix if 'deployer_prefix' in openshift.hosted.metrics else '' }}"
+ image_version: "{{ ',IMAGE_VERSION=' ~ openshift.hosted.metrics.deployer_version if 'deployer_version' in openshift.hosted.metrics else '' }}"
- name: Check for existing metrics pods