feat: add database reconciler
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user