Add volume mounts for immich deployment

This commit is contained in:
Daniel Cosme
2026-05-05 14:57:42 -04:00
parent 378b25166e
commit 268ea5cf31
2 changed files with 17 additions and 0 deletions

View File

@@ -99,6 +99,17 @@ func Deployment() apps.Deployment {
Image: root.Immich.Image,
Env: kube.NewEnvVarWithSecret(envMapping, secretMapping, Secret.Name),
Ports: []core.ContainerPort{{ContainerPort: root.Immich.Port}},
VolumeMounts: []core.VolumeMount{
{
Name: uploadVol.Name,
MountPath: "/data",
},
{
Name: localtimeVol.Name,
MountPath: "/etc/localtime",
ReadOnly: true,
},
},
},
},
Volumes: []core.Volume{