Change immich secret name in deployment

This commit is contained in:
Daniel Cosme
2026-05-05 12:35:57 -04:00
parent 5857984183
commit 3fd1048c77
2 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ package immich
import (
"danicos.dev/daniel/go-kube/pkg/kube"
"danicos.dev/daniel/go-kube/pkg/stack"
"danicos.dev/daniel/homelab/pkg/postgres"
"danicos.dev/daniel/homelab/pkg/root"
apps "k8s.io/api/apps/v1"
core "k8s.io/api/core/v1"
@@ -17,7 +18,7 @@ var Secret = struct {
DBHostKey string
DBPortKey string
}{
Name: root.Immich.Name + "-secret",
Name: postgres.ImmichPGSecret.Name,
DBNameKey: "db_name",
DBUsernameKey: "db_username",
DBPasswordKey: "db_password",