Add immich secret

This commit is contained in:
Daniel Cosme
2026-05-01 13:38:11 -04:00
parent 7fd65110bd
commit 5e4c4b7628
14 changed files with 93 additions and 65 deletions

View File

@@ -7,6 +7,22 @@ import (
core "k8s.io/api/core/v1"
)
var Secret = struct {
Name string
DBNameKey string
DBUsernameKey string
DBPasswordKey string
DBHostKey string
DBPortKey string
}{
Name: root.Immich.Name + "-secret",
DBNameKey: "db_name",
DBUsernameKey: "db_username",
DBPasswordKey: "db_password",
DBHostKey: "db_host",
DBPortKey: "db_port",
}
var meta kube.Metadata
var Namespace = kube.Namespace(root.Immich.Name)
var srv core.Service