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.

20 lines
507 B

  1. apiVersion: storage.k8s.io/v1
  2. kind: StorageClass
  3. metadata:
  4. name: csi-gce-pd
  5. provisioner: pd.csi.storage.gke.io
  6. parameters:
  7. type: {{ gcp_pd_csi_volume_type }}
  8. {% if gcp_pd_regional_replication_enabled %}
  9. replication-type: regional-pd
  10. {% endif %}
  11. volumeBindingMode: WaitForFirstConsumer
  12. {% if gcp_pd_restrict_zone_replication %}
  13. allowedTopologies:
  14. - matchLabelExpressions:
  15. - key: topology.gke.io/zone
  16. values:
  17. {% for value in gcp_pd_restricted_zones %}
  18. - {{ value }}
  19. {% endfor %}
  20. {% endif %}