发布1.0.5版本
This commit is contained in:
+1
-5
@@ -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,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+2
-5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user