chore: k8s logger

This commit is contained in:
xiaojunnuo
2024-08-06 10:22:28 +08:00
parent 93559174c7
commit efacfd6b2c
4 changed files with 10 additions and 8 deletions

View File

@@ -101,7 +101,7 @@ export class DeployCertToTencentTKEIngressPlugin extends AbstractTaskPlugin {
const kubeConfigStr = await this.getTkeKubeConfig(tkeClient, this.clusterId);
this.logger.info('kubeconfig已成功获取');
const k8sClient = new K8sClient(kubeConfigStr);
const k8sClient = new K8sClient(kubeConfigStr, this.logger);
if (this.clusterIp != null) {
if (!this.clusterDomain) {
this.clusterDomain = `${this.clusterId}.ccs.tencent-cloud.com`;