diff --git a/apps/cli/src/linter/schema.ts b/apps/cli/src/linter/schema.ts index 6761732..da484a3 100644 --- a/apps/cli/src/linter/schema.ts +++ b/apps/cli/src/linter/schema.ts @@ -138,10 +138,10 @@ const upstreamSchema = z timeout: timeoutSchema.optional(), tls: z .object({ - client_cert: z.string(), - client_key: z.string(), - client_cert_id: z.string(), - verify: z.boolean(), + client_cert: z.string().optional(), + client_key: z.string().optional(), + client_cert_id: z.string().optional(), + verify: z.boolean().optional(), }) .strict() .refine( diff --git a/schema.json b/schema.json index 40c1a11..efed54a 100644 --- a/schema.json +++ b/schema.json @@ -325,12 +325,6 @@ "type": "boolean" } }, - "required": [ - "client_cert", - "client_key", - "client_cert_id", - "verify" - ], "additionalProperties": false }, "keepalive_pool": {