Merge pull request #3280 from akhilmhdh/fix/patch-4

feat: added k8s abort
This commit is contained in:
Maidul Islam
2025-03-19 18:01:18 -04:00
committed by GitHub
@@ -102,7 +102,8 @@ export const identityKubernetesAuthServiceFactory = ({
"Content-Type": "application/json", "Content-Type": "application/json",
Authorization: `Bearer ${tokenReviewerJwt}` Authorization: `Bearer ${tokenReviewerJwt}`
}, },
signal: AbortSignal.timeout(10000),
timeout: 10000,
// if ca cert, rejectUnauthorized: true // if ca cert, rejectUnauthorized: true
httpsAgent: new https.Agent({ httpsAgent: new https.Agent({
ca: caCert, ca: caCert,