Add Cloud Native PG

This commit is contained in:
Daniel Cosme
2026-05-02 06:44:16 -04:00
parent b1a5bf1d96
commit 00da421787
4 changed files with 26 additions and 10 deletions
+12 -9
View File
@@ -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")
}