Преглед на файлове

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: