Browse Source

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>
OpenShift Merge Robot 7 years ago
parent
commit
80d141b5d6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      roles/openshift_metrics/tasks/install_cassandra.yaml

+ 1 - 0
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