[Agent][Deploy] - cmii update

This commit is contained in:
zeaslity
2024-06-14 10:37:40 +08:00
parent 540d69ede2
commit d86bc43b28
799 changed files with 48148 additions and 203 deletions

17
agent-deploy/a_nfs/DeployNFS.go Normal file → Executable file
View File

@@ -6,28 +6,17 @@ import (
)
var (
NfsApplyFilePath = ""
NfsTestApplyFilePath = ""
log = logger.Log
log = logger.Log
)
type NfsDeployConfig struct {
NfsLocalPath string
}
func init() {
NfsApplyFilePath = z_dep.ApplyFilePrefix + "k8s-nfs.yaml"
NfsTestApplyFilePath = z_dep.ApplyFilePrefix + "k8s-nfs-test.yaml"
log.InfoF("NfsApplyFilePath : %s\n", NfsApplyFilePath)
log.InfoF("NfsTestApplyFilePath : %s\n", NfsTestApplyFilePath)
}
func NFSDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
return commonEnv.ParseCommonEnvToApplyFile(CmiiNfsTemplate, NfsApplyFilePath)
return commonEnv.ParseCommonEnvToApplyFile(CmiiNfsTemplate, z_dep.NfsApplyFilePath)
}
func NFSTestDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
return commonEnv.ParseCommonEnvToApplyFile(CmiiNFSTestTemplate, NfsTestApplyFilePath)
return commonEnv.ParseCommonEnvToApplyFile(CmiiNFSTestTemplate, z_dep.NfsTestApplyFilePath)
}

0
agent-deploy/a_nfs/TemplateNFS.go Normal file → Executable file
View File

0
agent-deploy/a_nfs/TemplateNFSTest.go Normal file → Executable file
View File