发布1.0.5版本
This commit is contained in:
+1
-5
@@ -198958,7 +198958,6 @@ function requireLodash () {
|
|||||||
|
|
||||||
var lodashExports = requireLodash();
|
var lodashExports = requireLodash();
|
||||||
|
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
|
||||||
/**
|
/**
|
||||||
* The main function for the action.
|
* The main function for the action.
|
||||||
*
|
*
|
||||||
@@ -198992,10 +198991,7 @@ 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({
|
||||||
headers: {
|
httpAgent: new Agent({
|
||||||
host: '127.0.0.1'
|
|
||||||
},
|
|
||||||
agent: new Agent({
|
|
||||||
checkServerIdentity: () => undefined,
|
checkServerIdentity: () => undefined,
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
servername: '127.0.0.1',
|
servername: '127.0.0.1',
|
||||||
|
|||||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-7
@@ -11,9 +11,6 @@ interface Config {
|
|||||||
namespace: string
|
namespace: string
|
||||||
deployment: string
|
deployment: string
|
||||||
}
|
}
|
||||||
|
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The main function for the action.
|
* The main function for the action.
|
||||||
*
|
*
|
||||||
@@ -49,10 +46,7 @@ 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({
|
||||||
headers: {
|
httpAgent: new Agent({
|
||||||
host: '127.0.0.1'
|
|
||||||
},
|
|
||||||
agent: new Agent({
|
|
||||||
checkServerIdentity: () => undefined,
|
checkServerIdentity: () => undefined,
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
servername: '127.0.0.1',
|
servername: '127.0.0.1',
|
||||||
|
|||||||
Reference in New Issue
Block a user