local-persistent-volume-config.j2 320 B

12345678910
  1. ---
  2. apiVersion: v1
  3. data:
  4. {% for class in persistentlocalstorage_classes %}
  5. {{class}}: '{ "hostDir": "{{ persistentlocalstorage_path }}/{{ class }}", "mountDir" : "{{ persistentlocalstorage_path }}/{{ class }}" }'
  6. {% endfor %}
  7. kind: ConfigMap
  8. metadata:
  9. creationTimestamp: null
  10. name: local-volume-provisioner-config