diff --git a/.github/actions/provision-cluster/lib/kubeception.js b/.github/actions/provision-cluster/lib/kubeception.js index 752cb92f..d8e3da10 100644 --- a/.github/actions/provision-cluster/lib/kubeception.js +++ b/.github/actions/provision-cluster/lib/kubeception.js @@ -169,7 +169,10 @@ function getHttpClient() { const credentialHandler = new httpClientLib.BearerCredentialHandler( kubeceptionToken ); - return new httpClient.HttpClient(userAgent, [credentialHandler]); + + return new httpClient.HttpClient(userAgent, [credentialHandler], { + keepAlive: false, + }); } module.exports = { Client, getHttpClient }; diff --git a/.github/actions/provision-cluster/lib/slack.js b/.github/actions/provision-cluster/lib/slack.js index 065cc315..be1a0156 100644 --- a/.github/actions/provision-cluster/lib/slack.js +++ b/.github/actions/provision-cluster/lib/slack.js @@ -13,7 +13,9 @@ async function notify(message) { const runbook = core.getInput("slackRunbook"); const username = core.getInput("slackUsername"); - const client = new http.HttpClient("datawire/provision-cluster"); + const client = new http.HttpClient("datawire/provision-cluster", [], { + keepAlive: false, + }); const body = { channel: channel,