magnificent-eve-10499
01/24/2025, 3:14 PMsubPath
directive is not being respected in pulumi up
for example, in vscode I have
volumeMounts: [
{
mountPath: "/var/log/nginx", // Nginx writes logs here
volumeName: "log",
subPath: "log/nginx" // Maps to /log/nginx in the file share
},
{
mountPath: "/var/www/html/docroot/media", // Path where Nginx expects media files
volumeName: "media",
subPath: "media" // Maps to /media in the Azure File Share root
},
and in pulumi under recources, I see
"volumeMounts": [
{
"mountPath": "/var/log/nginx",
"volumeName": "log"
},
{
"mountPath": "/var/www/html/docroot/media",
"volumeName": "media"
}
]
note that the subPath
isn't even represented. I have to go into Azure and add them manually after deployment. I can share more of the code if needed but wanted to check and see if there is something I am just blatantly doing wrong here.magnificent-eve-10499
01/25/2025, 1:20 AMazure_native.app.v20241002preview.ContainerApp