You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
379 B

  1. {% for class_name, class_config in local_volume_provisioner_storage_classes.items() %}
  2. ---
  3. apiVersion: storage.k8s.io/v1
  4. kind: StorageClass
  5. metadata:
  6. name: {{ class_name }}
  7. provisioner: kubernetes.io/no-provisioner
  8. volumeBindingMode: WaitForFirstConsumer
  9. {% if class_config.reclaim_policy is defined %}
  10. reclaimPolicy: {{ class_config.reclaim_policy }}
  11. {% endif %}
  12. {% endfor %}