feat: updated backend for identity auth with reviewer optional

This commit is contained in:
=
2025-03-22 01:06:58 +05:30
parent 351e573fea
commit 81b026865c
6 changed files with 36 additions and 10 deletions
@@ -28,7 +28,7 @@ export const IdentityKubernetesAuthsSchema = z.object({
allowedNamespaces: z.string(),
allowedNames: z.string(),
allowedAudience: z.string(),
encryptedKubernetesTokenReviewerJwt: zodBuffer,
encryptedKubernetesTokenReviewerJwt: zodBuffer.nullable().optional(),
encryptedKubernetesCaCertificate: zodBuffer.nullable().optional()
});