Update Immich Database

This commit is contained in:
Daniel Cosme
2026-05-05 12:45:11 -04:00
parent 6665422d03
commit 6a8ae2f1f6
2 changed files with 27 additions and 0 deletions
+20
View File
@@ -60,6 +60,26 @@ func ImmichDatabase() pg.Database {
ClusterRef: core.LocalObjectReference{
Name: cluster_meta.Meta().Name,
},
Extensions: []pg.ExtensionSpec{
{
DatabaseObjectSpec: pg.DatabaseObjectSpec{
Name: "vectors",
Ensure: pg.EnsurePresent,
},
},
{
DatabaseObjectSpec: pg.DatabaseObjectSpec{
Name: "cube",
Ensure: pg.EnsurePresent,
},
},
{
DatabaseObjectSpec: pg.DatabaseObjectSpec{
Name: "earthdistance",
Ensure: pg.EnsurePresent,
},
},
},
}
return kube_cnpg.NewDatabase(meta, spec)
}