mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
24 lines
616 B
TypeScript
24 lines
616 B
TypeScript
import { z } from 'zod';
|
|
|
|
const authentikServerSpecSchema = z.object({
|
|
redisServer: z.string(),
|
|
postgresCluster: z.string(),
|
|
environment: z.string(),
|
|
subdomain: z.string(),
|
|
});
|
|
|
|
const authentikServerInitSecretSchema = z.object({
|
|
AUTHENTIK_BOOTSTRAP_TOKEN: z.string(),
|
|
AUTHENTIK_BOOTSTRAP_PASSWORD: z.string(),
|
|
AUTHENTIK_BOOTSTRAP_EMAIL: z.string(),
|
|
AUTHENTIK_SECRET_KEY: z.string(),
|
|
});
|
|
|
|
const authentikServerSecretSchema = z.object({
|
|
url: z.string(),
|
|
host: z.string(),
|
|
token: z.string(),
|
|
});
|
|
|
|
export { authentikServerSpecSchema, authentikServerInitSecretSchema, authentikServerSecretSchema };
|