发布1.0.5版本

This commit is contained in:
ilovintit 2025-06-15 23:03:15 +08:00
parent 2130cd3eda
commit e48a4ba491
3 changed files with 4 additions and 11 deletions

6
dist/index.js generated vendored
View File

@ -198990,11 +198990,7 @@ async function run() {
console.log('deployConfig:', deployConfig);
const kc = new KubeConfig();
kc.loadFromFile(require$$1$2.join(workspace, clusterPath + deployConfig.cluster + '.yaml'));
// kc.addCluster({
// name: deployConfig.cluster,
// server: kc.getCurrentCluster()?.server,
// skipTLSVerify: true
// })
console.log(kc.getCurrentCluster());
const applyHttps = await kc.applyToHTTPSOptions({
checkServerIdentity: () => undefined,
rejectUnauthorized: false,

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@ interface Config {
namespace: string
deployment: string
}
/**
* The main function for the action.
*
@ -44,11 +45,7 @@ export async function run(): Promise<void> {
kc.loadFromFile(
path.join(workspace, clusterPath + deployConfig.cluster + '.yaml')
)
// kc.addCluster({
// name: deployConfig.cluster,
// server: kc.getCurrentCluster()?.server,
// skipTLSVerify: true
// })
console.log(kc.getCurrentCluster())
const applyHttps = await kc.applyToHTTPSOptions({
checkServerIdentity: () => undefined,
rejectUnauthorized: false,