Browse Source

Fixing quote issue.

Kenny Woodson 7 years ago
parent
commit
3882a25fbe

+ 1 - 1
roles/openshift_logging_elasticsearch/tasks/main.yaml

@@ -205,7 +205,7 @@
     size: "{{ openshift_logging_elasticsearch_pvc_size }}"
     access_modes: "{{ openshift_logging_elasticsearch_pvc_access_modes | list }}"
     pv_selector: "{{ openshift_logging_elasticsearch_pvc_pv_selector }}"
-    storage_class_name: "{{ openshift_logging_elasticsearch_pvc_storage_class_name | default("") }}"
+    storage_class_name: "{{ openshift_logging_elasticsearch_pvc_storage_class_name | default('', true) }}"
   when:
   - openshift_logging_elasticsearch_storage_type == "pvc"
   - not openshift_logging_elasticsearch_pvc_dynamic

+ 1 - 1
roles/openshift_metrics/tasks/install_cassandra.yaml

@@ -36,7 +36,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_cassanda_pvc_storage_class_name | default('', true) }}"
   with_sequence: count={{ openshift_metrics_cassandra_replicas }}
   when:
   - openshift_metrics_cassandra_storage_type != 'emptydir'