This commit is contained in:
Morten Olsen
2025-10-29 23:31:30 +01:00
parent 2281dcafb4
commit 772d078649
48 changed files with 2755 additions and 30 deletions

View File

@@ -0,0 +1,15 @@
import { z } from '@morten-olsen/box-k8s';
const hostSpec = z.object({
type: z.literal('host'),
path: z.string(),
});
const locationSpec = hostSpec;
const storageSpecSchema = z.object({
location: locationSpec,
backup: locationSpec.optional(),
});
export { storageSpecSchema };