diff options
Diffstat (limited to 'roles/openshift_logging_elasticsearch/templates/pvc.j2')
-rw-r--r-- | roles/openshift_logging_elasticsearch/templates/pvc.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/openshift_logging_elasticsearch/templates/pvc.j2 b/roles/openshift_logging_elasticsearch/templates/pvc.j2 index f19a3a750..063f9c5ae 100644 --- a/roles/openshift_logging_elasticsearch/templates/pvc.j2 +++ b/roles/openshift_logging_elasticsearch/templates/pvc.j2 @@ -25,3 +25,6 @@ spec: resources: requests: storage: {{size}} +{% if storage_class_name is defined %} + storageClassName: {{ storage_class_name }} +{% endif %} |