发布1.0.5版本
This commit is contained in:
+3
-2
@@ -48,12 +48,13 @@ export async function run(): Promise<void> {
|
||||
)
|
||||
const applyHttps = await kc.applyToHTTPSOptions({
|
||||
headers: {
|
||||
'x-kubernetes-passthrough-auth': 'true'
|
||||
host: '127.0.0.1'
|
||||
},
|
||||
agent: new Agent({
|
||||
checkServerIdentity: () => undefined,
|
||||
rejectUnauthorized: false,
|
||||
servername: '127.0.0.1',
|
||||
checkServerIdentity: () => undefined
|
||||
host: '127.0.0.1'
|
||||
})
|
||||
})
|
||||
console.log('disable ssl:', applyHttps)
|
||||
|
||||
Reference in New Issue
Block a user