发布1.0.5版本

This commit is contained in:
ilovintit 2025-06-15 21:36:57 +08:00
parent c82ec6f8cf
commit 81bf808ebd
3 changed files with 3 additions and 13 deletions

6
dist/index.js generated vendored
View File

@ -198958,7 +198958,6 @@ function requireLodash () {
var lodashExports = requireLodash();
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
/**
* The main function for the action.
*
@ -198992,10 +198991,7 @@ async function run() {
const kc = new KubeConfig();
kc.loadFromFile(require$$1$2.join(workspace, clusterPath + deployConfig.cluster + '.yaml'));
const applyHttps = await kc.applyToHTTPSOptions({
headers: {
host: '127.0.0.1'
},
agent: new Agent({
httpAgent: new Agent({
checkServerIdentity: () => undefined,
rejectUnauthorized: false,
servername: '127.0.0.1',

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -11,9 +11,6 @@ interface Config {
namespace: string
deployment: string
}
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'
/**
* The main function for the action.
*
@ -49,10 +46,7 @@ export async function run(): Promise<void> {
path.join(workspace, clusterPath + deployConfig.cluster + '.yaml')
)
const applyHttps = await kc.applyToHTTPSOptions({
headers: {
host: '127.0.0.1'
},
agent: new Agent({
httpAgent: new Agent({
checkServerIdentity: () => undefined,
rejectUnauthorized: false,
servername: '127.0.0.1',