发布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
+2 -5
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,