c12s-kubespray/roles/kubernetes-apps/persistent_volumes/azuredisk-csi/templates/azure-csi-storage-class.yml.j2
Mateusz Adamek aba63f0f9a
Added support for dynamic tags in AWS and Azure. (#6752)
* Added support for dynamic tags in AWS and Azure.

* Added examples of dynamic tags configuration.
2020-09-26 10:50:48 -07:00

14 lines
326 B
Django/Jinja

---
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: disk.csi.azure.com
provisioner: disk.csi.azure.com
parameters:
skuname: {{ storage_account_type }}
{% if azure_csi_tags is defined %}
tags: {{ azure_csi_tags }}
{% endif %}
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true