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.

18 lines
420 B

  1. kind: StorageClass
  2. apiVersion: storage.k8s.io/v1
  3. metadata:
  4. name: ebs-sc
  5. provisioner: ebs.csi.aws.com
  6. volumeBindingMode: WaitForFirstConsumer
  7. parameters:
  8. csi.storage.k8s.io/fstype: xfs
  9. type: gp2
  10. {% if restrict_az_provisioning %}
  11. allowedTopologies:
  12. - matchLabelExpressions:
  13. - key: topology.ebs.csi.aws.com/zone
  14. values:
  15. {% for value in aws_ebs_availability_zones %}
  16. - {{ value }}
  17. {% endfor %}
  18. {% endif %}