Przeglądaj źródła

updated dynamic provision section for openshift metrics to support
storage class name

Signed-off-by: Elvir Kuric <elvirkuric@gmail.com>

Elvir Kuric 7 lat temu
rodzic
commit
1798930604

+ 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