Add immich secret
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user