发布1.0.5版本

This commit is contained in:
ilovintit
2025-06-15 21:25:57 +08:00
parent daf32fccc2
commit 3a944938db
3 changed files with 7 additions and 5 deletions
Generated Vendored
+3 -2
View File
@@ -198992,12 +198992,13 @@ async function run() {
kc.loadFromFile(require$$1$2.join(workspace, clusterPath + deployConfig.cluster + '.yaml')); kc.loadFromFile(require$$1$2.join(workspace, clusterPath + deployConfig.cluster + '.yaml'));
const applyHttps = await kc.applyToHTTPSOptions({ const applyHttps = await kc.applyToHTTPSOptions({
headers: { headers: {
'x-kubernetes-passthrough-auth': 'true' host: '127.0.0.1'
}, },
agent: new Agent({ agent: new Agent({
checkServerIdentity: () => undefined,
rejectUnauthorized: false, rejectUnauthorized: false,
servername: '127.0.0.1', servername: '127.0.0.1',
checkServerIdentity: () => undefined host: '127.0.0.1'
}) })
}); });
console.log('disable ssl:', applyHttps); console.log('disable ssl:', applyHttps);
Generated Vendored
+1 -1
View File
File diff suppressed because one or more lines are too long
+3 -2
View File
@@ -48,12 +48,13 @@ export async function run(): Promise<void> {
) )
const applyHttps = await kc.applyToHTTPSOptions({ const applyHttps = await kc.applyToHTTPSOptions({
headers: { headers: {
'x-kubernetes-passthrough-auth': 'true' host: '127.0.0.1'
}, },
agent: new Agent({ agent: new Agent({
checkServerIdentity: () => undefined,
rejectUnauthorized: false, rejectUnauthorized: false,
servername: '127.0.0.1', servername: '127.0.0.1',
checkServerIdentity: () => undefined host: '127.0.0.1'
}) })
}) })
console.log('disable ssl:', applyHttps) console.log('disable ssl:', applyHttps)