发布1.0.5版本

This commit is contained in:
ilovintit 2025-06-15 23:27:17 +08:00
parent 55a8fc88f0
commit aa734fc4b1
3 changed files with 1 additions and 15 deletions

7
dist/index.js generated vendored
View File

@ -199004,13 +199004,6 @@ async function run() {
tlsServerName: '127.0.0.1' tlsServerName: '127.0.0.1'
}, currentUser); }, currentUser);
console.log('now_cluster', kc.getCurrentCluster()); console.log('now_cluster', kc.getCurrentCluster());
const applyHttps = await kc.applyToHTTPSOptions({
checkServerIdentity: () => undefined,
rejectUnauthorized: false,
servername: '127.0.0.1',
host: '127.0.0.1'
});
console.log('disable ssl:', applyHttps);
const k8sApi = kc.makeApiClient(ObjectAppsV1Api); const k8sApi = kc.makeApiClient(ObjectAppsV1Api);
const nowDeployment = await k8sApi.readNamespacedDeployment({ const nowDeployment = await k8sApi.readNamespacedDeployment({
name: deployConfig.deployment, name: deployConfig.deployment,

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -63,13 +63,6 @@ export async function run(): Promise<void> {
currentUser currentUser
) )
console.log('now_cluster', kc.getCurrentCluster()) console.log('now_cluster', kc.getCurrentCluster())
const applyHttps = await kc.applyToHTTPSOptions({
checkServerIdentity: () => undefined,
rejectUnauthorized: false,
servername: '127.0.0.1',
host: '127.0.0.1'
})
console.log('disable ssl:', applyHttps)
const k8sApi = kc.makeApiClient(k8s.AppsV1Api) const k8sApi = kc.makeApiClient(k8s.AppsV1Api)
const nowDeployment = await k8sApi.readNamespacedDeployment({ const nowDeployment = await k8sApi.readNamespacedDeployment({
name: deployConfig.deployment, name: deployConfig.deployment,