From c9fba927695d1cb64c45f159a07a7b4f07ad0f7f Mon Sep 17 00:00:00 2001 From: Andy Zhang Date: Thu, 30 Nov 2017 08:27:12 +0800 Subject: [PATCH] add built-in azure file storage class (#1845) add azurefile annotations --- ...tesmasteraddons-managed-azure-storage-classes.yaml | 11 +++++++++++ ...smasteraddons-unmanaged-azure-storage-classes.yaml | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/parts/kubernetesmasteraddons-managed-azure-storage-classes.yaml b/parts/kubernetesmasteraddons-managed-azure-storage-classes.yaml index 1888855c5a..8acd695207 100644 --- a/parts/kubernetesmasteraddons-managed-azure-storage-classes.yaml +++ b/parts/kubernetesmasteraddons-managed-azure-storage-classes.yaml @@ -34,3 +34,14 @@ provisioner: kubernetes.io/azure-disk parameters: kind: Managed storageaccounttype: Standard_LRS +--- +kind: StorageClass +apiVersion: storage.k8s.io/v1 +metadata: + name: azurefile + annotations: + labels: + kubernetes.io/cluster-service: "true" +provisioner: kubernetes.io/azure-file +parameters: + skuName: Standard_LRS diff --git a/parts/kubernetesmasteraddons-unmanaged-azure-storage-classes.yaml b/parts/kubernetesmasteraddons-unmanaged-azure-storage-classes.yaml index 2f98d1c17b..93715daf16 100644 --- a/parts/kubernetesmasteraddons-unmanaged-azure-storage-classes.yaml +++ b/parts/kubernetesmasteraddons-unmanaged-azure-storage-classes.yaml @@ -31,3 +31,14 @@ provisioner: kubernetes.io/azure-disk parameters: kind: Managed storageaccounttype: Standard_LRS +--- +kind: StorageClass +apiVersion: storage.k8s.io/v1 +metadata: + name: azurefile + annotations: + labels: + kubernetes.io/cluster-service: "true" +provisioner: kubernetes.io/azure-file +parameters: + skuName: Standard_LRS