[agent-deploy] - basic accomplish
This commit is contained in:
22
agent-operator/deploy/a_dashboard/DeployK8sDashboard.go
Normal file
22
agent-operator/deploy/a_dashboard/DeployK8sDashboard.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package a_dashboard
|
||||
|
||||
import (
|
||||
"wdd.io/agent-common/logger"
|
||||
"wdd.io/agent-operator/deploy/z_dep"
|
||||
)
|
||||
|
||||
var (
|
||||
K8sDashboardApplyFilePath = ""
|
||||
log = logger.Log
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
||||
K8sDashboardApplyFilePath = z_dep.ApplyFilePrefix + "k8s-dashboard.yaml"
|
||||
|
||||
log.InfoF("K8sDashboardApplyFilePath: %s", K8sDashboardApplyFilePath)
|
||||
}
|
||||
|
||||
func K8sDashboardDeploy(commonEnv *z_dep.CommonEnvironmentConfig) bool {
|
||||
return commonEnv.ParseCommonEnvToApplyFile(CmiiK8sDashboardTemplate, K8sDashboardApplyFilePath)
|
||||
}
|
||||
Reference in New Issue
Block a user