summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2017-10-13 02:47:32 -0700
committerGitHub <noreply@github.com>2017-10-13 02:47:32 -0700
commit80d141b5d60da9afbd3c02350933c090d1839c46 (patch)
treee5f9f1dedfaa44f8c9ef2da3e6f8cae378b39f07
parent15c09f1716d8c307906a8ad8906287dc7947725d (diff)
parent179893060452604fd94f0abe9ae18353cb30c246 (diff)
downloadopenshift-80d141b5d60da9afbd3c02350933c090d1839c46.tar.gz
openshift-80d141b5d60da9afbd3c02350933c090d1839c46.tar.bz2
openshift-80d141b5d60da9afbd3c02350933c090d1839c46.tar.xz
openshift-80d141b5d60da9afbd3c02350933c090d1839c46.zip
Merge pull request #5414 from ekuric/pvc_dynamic_metrics
Automatic merge from submit-queue. updated dynamic storage section for openshift metrics updated dynamic storage 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