发布1.0.5版本
This commit is contained in:
+4
-1
@@ -198991,7 +198991,10 @@ async function run() {
|
|||||||
const kc = new KubeConfig();
|
const kc = new KubeConfig();
|
||||||
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({
|
||||||
httpsAgent: new Agent({
|
headers: {
|
||||||
|
'x-kubernetes-passthrough-auth': 'true'
|
||||||
|
},
|
||||||
|
agent: new Agent({
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
servername: '127.0.0.1',
|
servername: '127.0.0.1',
|
||||||
checkServerIdentity: () => undefined
|
checkServerIdentity: () => undefined
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+4
-1
@@ -47,7 +47,10 @@ export async function run(): Promise<void> {
|
|||||||
path.join(workspace, clusterPath + deployConfig.cluster + '.yaml')
|
path.join(workspace, clusterPath + deployConfig.cluster + '.yaml')
|
||||||
)
|
)
|
||||||
const applyHttps = await kc.applyToHTTPSOptions({
|
const applyHttps = await kc.applyToHTTPSOptions({
|
||||||
httpsAgent: new Agent({
|
headers: {
|
||||||
|
'x-kubernetes-passthrough-auth': 'true'
|
||||||
|
},
|
||||||
|
agent: new Agent({
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
servername: '127.0.0.1',
|
servername: '127.0.0.1',
|
||||||
checkServerIdentity: () => undefined
|
checkServerIdentity: () => undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user