From 5258c5ad91aab60e658b30636b42649a66f43e02 Mon Sep 17 00:00:00 2001 From: LaylaLiu-gmail <38268900+LaylaLiu-gmail@users.noreply.github.com> Date: Mon, 10 Apr 2023 13:22:54 +0800 Subject: [PATCH 1/2] Support SubPath in volume mount and mount options for azure file volume --- .../preview/2023-04-01-preview/CommonDefinitions.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json index 134788350c0e..713bd50dd40e 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json @@ -653,6 +653,10 @@ "x-ms-identifiers": [ "secretRef" ] + }, + "mountOptions": { + "description": "Mount options used while mounting the AzureFile. Must be a comma-separated string.", + "type": "string" } } }, @@ -681,6 +685,10 @@ "mountPath": { "description": "Path within the container at which the volume should be mounted.Must not contain ':'.", "type": "string" + }, + "subPath": { + "description": "Path within the volume from which the container's volume should be mounted. Defaults to '' (volume's root).", + "type": "string" } } }, From 8cad45874721d1f79742f055f2468d796d5acd77 Mon Sep 17 00:00:00 2001 From: LaylaLiu-gmail <38268900+LaylaLiu-gmail@users.noreply.github.com> Date: Tue, 11 Apr 2023 10:48:24 +0800 Subject: [PATCH 2/2] update description --- .../preview/2023-04-01-preview/CommonDefinitions.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json index 713bd50dd40e..b91b7d5574c9 100644 --- a/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json +++ b/specification/app/resource-manager/Microsoft.App/preview/2023-04-01-preview/CommonDefinitions.json @@ -687,7 +687,7 @@ "type": "string" }, "subPath": { - "description": "Path within the volume from which the container's volume should be mounted. Defaults to '' (volume's root).", + "description": "Path within the volume from which the container's volume should be mounted. Defaults to \"\" (volume's root).", "type": "string" } }