summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElvir Kuric <elvirkuric@gmail.com>2017-09-14 16:17:21 +0200
committerElvir Kuric <elvirkuric@gmail.com>2017-09-14 16:17:21 +0200
commit179893060452604fd94f0abe9ae18353cb30c246 (patch)
tree95a4419e26d3d7ff64e5b9053c7511442c9797df
parentf28398ca6e44b03055a84223cb7b03c081b3a4ea (diff)
downloadopenshift-179893060452604fd94f0abe9ae18353cb30c246.tar.gz
openshift-179893060452604fd94f0abe9ae18353cb30c246.tar.bz2
openshift-179893060452604fd94f0abe9ae18353cb30c246.tar.xz
openshift-179893060452604fd94f0abe9ae18353cb30c246.zip
updated dynamic provision section for openshift metrics to support
storage class name Signed-off-by: Elvir Kuric <elvirkuric@gmail.com>
-rw-r--r--roles/openshift_metrics/tasks/install_cassandra.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/openshift_metrics/tasks/install_cassandra.yaml b/roles/openshift_metrics/tasks/install_cassandra.yaml
index 7928a0346..48584bd64 100644
--- a/roles/openshift_metrics/tasks/install_cassandra.yaml
+++ b/roles/openshift_metrics/tasks/install_cassandra.yaml
@@ -54,6 +54,7 @@
access_modes: "{{ openshift_metrics_cassandra_pvc_access | list }}"
size: "{{ openshift_metrics_cassandra_pvc_size }}"
pv_selector: "{{ openshift_metrics_cassandra_pv_selector }}"
+ storage_class_name: "{{ openshift_metrics_cassanda_pvc_storage_class_name | default('', true) }}"
with_sequence: count={{ openshift_metrics_cassandra_replicas }}
when: openshift_metrics_cassandra_storage_type == 'dynamic'
changed_when: false