From 6179508b165baa9bf0482637c35e5bf696f2d5ef Mon Sep 17 00:00:00 2001 From: hanxie Date: Fri, 22 Dec 2023 00:33:50 +0800 Subject: [PATCH] update: change nas config --- src/s.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/s.yaml b/src/s.yaml index 6ddf043..2346a72 100644 --- a/src/s.yaml +++ b/src/s.yaml @@ -7,9 +7,16 @@ vars: name: '{{ serviceName }}' description: '将开源模型部署到函数计算' {{ if roleArn !== '' && roleArn !== undefined }}role: "{{roleArn}}"{{/if}} - nasConfig: auto + # nasConfig: auto # logConfig: auto # vpcConfig: auto + nasConfig: # NAS配置, 配置后function可以访问指定NAS + userId: 10003 # userID, 默认为10003 + groupId: 10003 # groupID, 默认为10003 + mountPoints: # 目录配置 + - serverAddr: '{{ mountPointsServerAddr }}' + nasDir: /fc-deploy-service # NAS目录 + fcDir: /mnt/auto # 函数计算目录 vpcConfig: vpcId: '{{ vpcId }}' securityGroupId: '{{ securityGroupId }}'