Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(gateway): regenerate the Kubernetes auth schema from a clean migration

bernie-g4a5f4f2f9be8
diff --git a/backend/src/db/schemas/resource-kubernetes-auths.ts b/backend/src/db/schemas/resource-kubernetes-auths.ts
index b8b06cbe2e..799999b6bb 100644
--- a/backend/src/db/schemas/resource-kubernetes-auths.ts
+++ b/backend/src/db/schemas/resource-kubernetes-auths.ts
@@ -19,11 +19,11 @@ export const ResourceKubernetesAuthsSchema = z.object({
allowedNames: z.string().default(""),
allowedAudience: z.string().default(""),
verifyTlsCertificate: z.boolean().default(true),
- createdAt: z.date(),
- updatedAt: z.date(),
tokenReviewMode: z.string().default("api"),
gatewayV2Id: z.string().uuid().nullable().optional(),
- gatewayPoolId: z.string().uuid().nullable().optional()
+ gatewayPoolId: z.string().uuid().nullable().optional(),
+ createdAt: z.date(),
+ updatedAt: z.date()
});
export type TResourceKubernetesAuths = z.infer<typeof ResourceKubernetesAuthsSchema>;