summaryrefslogtreecommitdiffstats
path: root/roles/openshift_logging_elasticsearch/templates
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-26 09:19:37 -0400
committerGitHub <noreply@github.com>2017-06-26 09:19:37 -0400
commit90d517d4c179f59e2027965a7eb52c3c0f19cff9 (patch)
tree5439ecd4a834abcfc15aac2562445708a3005973 /roles/openshift_logging_elasticsearch/templates
parentb64cfec4ebf9b95a8627de23bc8a15bd77fc1eb7 (diff)
parent3882a25fbe55a922f57cee339fc45e20b84c906b (diff)
downloadopenshift-90d517d4c179f59e2027965a7eb52c3c0f19cff9.tar.gz
openshift-90d517d4c179f59e2027965a7eb52c3c0f19cff9.tar.bz2
openshift-90d517d4c179f59e2027965a7eb52c3c0f19cff9.tar.xz
openshift-90d517d4c179f59e2027965a7eb52c3c0f19cff9.zip
Merge pull request #4532 from kwoodson/storageclass_dynamic
bugzilla:1463577 - Fix for dynamic pvs when using storageclasses.
Diffstat (limited to 'roles/openshift_logging_elasticsearch/templates')
-rw-r--r--roles/openshift_logging_elasticsearch/templates/pvc.j23
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 %}