feat: 增加app
This commit is contained in:
@@ -69,6 +69,12 @@ func GenDeploy(namespace string, service config.Service) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// application.yaml 文件
|
||||
err = copyTo("templates/application.yaml", templatesDirPath+"/application.yaml")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// deployment.yaml 文件
|
||||
err = copyTo("templates/deployment.yaml", templatesDirPath+"/deployment.yaml")
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user