[ CMII ] [ Operator ] - 抽离为单独的项目
This commit is contained in:
17
cmii_operator/CmiiAppDeploy_test.go
Normal file
17
cmii_operator/CmiiAppDeploy_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package cmii_operator
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestCmiiBackendDeploymentConfig_ParseToApplyConf(t *testing.T) {
|
||||
|
||||
deploymentConfig := CmiiBackendDeploymentConfig{
|
||||
Namespace: "uavcloud-dev",
|
||||
AppName: "cmii-uav-gateway",
|
||||
ImageTag: "5.2.0-123",
|
||||
TagVersion: "5.2.0",
|
||||
Replicas: "2",
|
||||
}
|
||||
|
||||
deploymentConfig.ParseToApplyConf()
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user