发布1.0.5版本
This commit is contained in:
parent
2130cd3eda
commit
e48a4ba491
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
@ -198990,11 +198990,7 @@ async function run() {
|
|||||||
console.log('deployConfig:', deployConfig);
|
console.log('deployConfig:', deployConfig);
|
||||||
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'));
|
||||||
// kc.addCluster({
|
console.log(kc.getCurrentCluster());
|
||||||
// name: deployConfig.cluster,
|
|
||||||
// server: kc.getCurrentCluster()?.server,
|
|
||||||
// skipTLSVerify: true
|
|
||||||
// })
|
|
||||||
const applyHttps = await kc.applyToHTTPSOptions({
|
const applyHttps = await kc.applyToHTTPSOptions({
|
||||||
checkServerIdentity: () => undefined,
|
checkServerIdentity: () => undefined,
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
|
|||||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -10,6 +10,7 @@ interface Config {
|
|||||||
namespace: string
|
namespace: string
|
||||||
deployment: string
|
deployment: string
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The main function for the action.
|
* The main function for the action.
|
||||||
*
|
*
|
||||||
@ -44,11 +45,7 @@ export async function run(): Promise<void> {
|
|||||||
kc.loadFromFile(
|
kc.loadFromFile(
|
||||||
path.join(workspace, clusterPath + deployConfig.cluster + '.yaml')
|
path.join(workspace, clusterPath + deployConfig.cluster + '.yaml')
|
||||||
)
|
)
|
||||||
// kc.addCluster({
|
console.log(kc.getCurrentCluster())
|
||||||
// name: deployConfig.cluster,
|
|
||||||
// server: kc.getCurrentCluster()?.server,
|
|
||||||
// skipTLSVerify: true
|
|
||||||
// })
|
|
||||||
const applyHttps = await kc.applyToHTTPSOptions({
|
const applyHttps = await kc.applyToHTTPSOptions({
|
||||||
checkServerIdentity: () => undefined,
|
checkServerIdentity: () => undefined,
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user