Add Cloud Native PG
This commit is contained in:
+12
-9
@@ -14,13 +14,16 @@ func init() {
|
||||
}
|
||||
|
||||
func Stack() stack.Stack {
|
||||
s := stack.NewStack("cloud-native-pg", map[string]any{
|
||||
"namespace": SystemNamespace,
|
||||
"cluster-namespace": root.PGClusterNamespace,
|
||||
"helm-repository-source": HelmSource(),
|
||||
"helm-release": HelmRelease(),
|
||||
"pg-cluster": Cluster(),
|
||||
"immich-db": ImmichDatabase(),
|
||||
})
|
||||
return s
|
||||
kz := kube.NewKuztomizedStack(
|
||||
meta_system,
|
||||
map[string]any{
|
||||
"namespace": SystemNamespace,
|
||||
"cluster-namespace": root.PGClusterNamespace,
|
||||
"helm-repository-source": HelmSource(),
|
||||
"helm-release": HelmRelease(),
|
||||
"pg-cluster": Cluster(),
|
||||
"immich-db": ImmichDatabase(),
|
||||
},
|
||||
)
|
||||
return kz.Stack("cloud-native-pg")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user