发布1.0.3版本
This commit is contained in:
+7
-1
@@ -5,7 +5,7 @@ import require$$1__default from 'fs';
|
||||
import * as require$$1$2 from 'path';
|
||||
import require$$1__default$1 from 'path';
|
||||
import require$$2 from 'http';
|
||||
import require$$1$3 from 'https';
|
||||
import require$$1$3, { Agent } from 'https';
|
||||
import require$$0$6 from 'net';
|
||||
import require$$4 from 'tls';
|
||||
import require$$0$3 from 'events';
|
||||
@@ -198958,6 +198958,9 @@ function requireLodash () {
|
||||
|
||||
var lodashExports = requireLodash();
|
||||
|
||||
const insecureAgent = new Agent({
|
||||
rejectUnauthorized: false
|
||||
});
|
||||
/**
|
||||
* The main function for the action.
|
||||
*
|
||||
@@ -198990,6 +198993,9 @@ async function run() {
|
||||
console.log('deployConfig:', deployConfig);
|
||||
const kc = new KubeConfig();
|
||||
kc.loadFromFile(require$$1$2.join(workspace, clusterPath + deployConfig.cluster + '.yaml'));
|
||||
await kc.applyToHTTPSOptions({
|
||||
httpsAgent: insecureAgent
|
||||
});
|
||||
const k8sApi = kc.makeApiClient(ObjectAppsV1Api);
|
||||
const nowDeployment = await k8sApi.readNamespacedDeployment({
|
||||
name: deployConfig.deployment,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user