in tools/dubbogo-cli/generator/application/chart.go [385:448]
func init() {
// App chart
fileMap["chartYaml"] = &fileGenerator{
path: "./chart/app",
file: "Chart.yaml",
context: chartYaml,
}
fileMap["valuesYaml"] = &fileGenerator{
path: "./chart/app",
file: "values.yaml",
context: valuesYaml,
}
fileMap["helpersTPL"] = &fileGenerator{
path: "./chart/app/templates",
file: "_helpers.tpl",
context: helpersTPL,
}
fileMap["deploymentYaml"] = &fileGenerator{
path: "./chart/app/templates",
file: "deployment.yaml",
context: deploymentYaml,
}
fileMap["serviceYaml"] = &fileGenerator{
path: "./chart/app/templates",
file: "service.yaml",
context: serviceYaml,
}
fileMap["serviceAccountYaml"] = &fileGenerator{
path: "./chart/app/templates",
file: "serviceaccount.yaml",
context: serviceAccountYaml,
}
// Nacos env chart
fileMap["nacosEnvchartYaml"] = &fileGenerator{
path: "./chart/nacos_env",
file: "Chart.yaml",
context: nacosEnvChartFile,
}
fileMap["nacosEnvvaluesYaml"] = &fileGenerator{
path: "./chart/nacos_env",
file: "values.yaml",
context: nacosEnvValuesFile,
}
fileMap["nacosEnvHelpersTPL"] = &fileGenerator{
path: "./chart/nacos_env/templates",
file: "_helpers.tpl",
context: helpersTPL,
}
fileMap["nacosEnvDeploymentYaml"] = &fileGenerator{
path: "./chart/nacos_env/templates",
file: "deployment.yaml",
context: deploymentYaml,
}
fileMap["nacosEnvServiceYaml"] = &fileGenerator{
path: "./chart/nacos_env/templates",
file: "service.yaml",
context: serviceYaml,
}
}