发布1.0.5版本

This commit is contained in:
ilovintit
2025-06-15 23:35:00 +08:00
parent aa734fc4b1
commit cca7cb0b42
3 changed files with 5 additions and 9 deletions
+2 -4
View File
@@ -48,7 +48,6 @@ export async function run(): Promise<void> {
)
const currentCluster: Cluster | null = kc.getCurrentCluster()
const currentUser: User | null = kc.getCurrentUser()
console.log('old_cluster', currentCluster)
if (currentCluster === null || currentUser === null) {
continue
}
@@ -57,12 +56,11 @@ export async function run(): Promise<void> {
name: currentCluster.server,
server: currentCluster.server,
caData: currentCluster.caData,
skipTLSVerify: true,
tlsServerName: '127.0.0.1'
skipTLSVerify: true
// tlsServerName: '127.0.0.1'
},
currentUser
)
console.log('now_cluster', kc.getCurrentCluster())
const k8sApi = kc.makeApiClient(k8s.AppsV1Api)
const nowDeployment = await k8sApi.readNamespacedDeployment({
name: deployConfig.deployment,