feat: add database reconciler

This commit is contained in:
2026-08-16 09:35:34 +07:00 Unverified
parent 3f70382fd3
commit a244f49155
6 changed files with 659 additions and 105 deletions
+5
View File
@@ -7,6 +7,7 @@ import {
listManagedResources,
sortResources,
} from "../lib/apply";
import { listManagedDatabaseResources } from "../lib/database";
export const down = defineCommand({
meta: {
@@ -30,6 +31,10 @@ export const down = defineCommand({
resource.kind !== "PersistentVolumeClaim"),
);
if (args.full) {
resources.push(...(await listManagedDatabaseResources(project)));
}
if (args.full) {
resources.push({
apiVersion: "v1",