فهرست منبع

Use local variable instead of global one in template

Diego Abelenda 7 سال پیش
والد
کامیت
6aab2ed7d2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      roles/openshift_persistentlocalstorage/templates/local-persistent-volume-config.j2

+ 1 - 1
roles/openshift_persistentlocalstorage/templates/local-persistent-volume-config.j2

@@ -2,7 +2,7 @@
 apiVersion: v1
 data:
 {% for class in persistentlocalstorage_classes %}
-  {{class}}: '{ "hostDir": "{{ openshift_persistentlocalstorage_path }}/{{ class }}", "mountDir" : "{{ openshift_persistentlocalstorage_path }}/{{ class }}" }'
+  {{class}}: '{ "hostDir": "{{ persistentlocalstorage_path }}/{{ class }}", "mountDir" : "{{ persistentlocalstorage_path }}/{{ class }}" }'
 {% endfor %}
 kind: ConfigMap
 metadata: