This commit is contained in:
Daniel Hougaard
2025-06-05 04:45:57 +04:00
parent 07902f7db9
commit 36f1559e5e
2 changed files with 3 additions and 4 deletions

View File

@@ -31,8 +31,9 @@ export const IdentityKubernetesAuthsSchema = z.object({
encryptedKubernetesTokenReviewerJwt: zodBuffer.nullable().optional(),
encryptedKubernetesCaCertificate: zodBuffer.nullable().optional(),
gatewayId: z.string().uuid().nullable().optional(),
tokenReviewMode: z.string().default("api"),
accessTokenPeriod: z.coerce.number().default(0)
accessTokenPeriod: z.coerce.number().default(0),
useGatewayAsReviewer: z.boolean().default(false),
tokenReviewMode: z.string().default("api")
});
export type TIdentityKubernetesAuths = z.infer<typeof IdentityKubernetesAuthsSchema>;

View File

@@ -164,8 +164,6 @@ export const identityKubernetesAuthServiceFactory = ({
servername = servername.substring(0, lastColonIndex);
}
console.log("servername", servername);
const baseUrl = port ? `${host}:${port}` : host;
const res = await axios