|
@@ -24,7 +24,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) }}"
|
|
|
+ storage_class_name: "{{ openshift_metrics_cassandra_pvc_storage_class_name | default('', true) }}"
|
|
|
when:
|
|
|
- openshift_metrics_cassandra_storage_type != 'emptydir'
|
|
|
- openshift_metrics_cassandra_storage_type != 'dynamic'
|
|
@@ -41,6 +41,6 @@
|
|
|
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) }}"
|
|
|
+ storage_class_name: "{{ openshift_metrics_cassandra_pvc_storage_class_name | default('', true) }}"
|
|
|
when: openshift_metrics_cassandra_storage_type == 'dynamic'
|
|
|
changed_when: false
|