🌳
pt0/deployF/harvF/harvExtIpsSyncF/run.mts
3import { enterKlusterCtxs, type KlusterCfg } from "../../k8sF/ctxF/klusterCtxF.mts"
8const envConf = getEnvConf()
9const cluster_name = getInCluster()
10const {accessByIp, klusterVipHostname, clusterVip, klustCertsH, cfApiKeySecretName, domainNames} = envConf
12enterKlusterCtxs({cluster_name, accessByIp, klusterVipHostname, clusterVip, klustCertsH, cfApiKeySecretName, domainNames} as KlusterCfg)
13actionCtx.enterWith({action: 'apply'})
15betLog({cluster_name, action: 'apply'})
16console.log('starting harvextipsync...')
18await k8sHarvExtIpSvcs({action: 'apply'})
20console.log('harvextipsync completed successfully')