mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 23:27:14 +00:00
cleanup
This commit is contained in:
@@ -31,8 +31,9 @@ export const IdentityKubernetesAuthsSchema = z.object({
|
|||||||
encryptedKubernetesTokenReviewerJwt: zodBuffer.nullable().optional(),
|
encryptedKubernetesTokenReviewerJwt: zodBuffer.nullable().optional(),
|
||||||
encryptedKubernetesCaCertificate: zodBuffer.nullable().optional(),
|
encryptedKubernetesCaCertificate: zodBuffer.nullable().optional(),
|
||||||
gatewayId: z.string().uuid().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>;
|
export type TIdentityKubernetesAuths = z.infer<typeof IdentityKubernetesAuthsSchema>;
|
||||||
|
|||||||
@@ -164,8 +164,6 @@ export const identityKubernetesAuthServiceFactory = ({
|
|||||||
servername = servername.substring(0, lastColonIndex);
|
servername = servername.substring(0, lastColonIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("servername", servername);
|
|
||||||
|
|
||||||
const baseUrl = port ? `${host}:${port}` : host;
|
const baseUrl = port ? `${host}:${port}` : host;
|
||||||
|
|
||||||
const res = await axios
|
const res = await axios
|
||||||
|
|||||||
Reference in New Issue
Block a user