[Agent][GO] - fix deploy bugs

This commit is contained in:
zeaslity
2024-07-17 16:22:40 +08:00
parent 034ae3d25b
commit b7daaddf1e
47 changed files with 25342 additions and 26 deletions

View File

@@ -30,6 +30,7 @@ var FrontendShortNameMaps = map[string]string{
"cmii-uav-platform-visualization": "visualization",
"cmii-uav-platform-uasms": "uasms",
"cmii-uav-platform-uas": "uas",
"cmii-uav-platform-dispatchh5": "dispatchh5",
}
var FrontendClientIdMaps = map[string]string{
@@ -62,4 +63,5 @@ var FrontendClientIdMaps = map[string]string{
"cmii-uav-platform-hljtt": "empty",
"cmii-uav-platform-uasms": "empty",
"cmii-uav-platform-uas": "empty",
"cmii-uav-platform-dispatchh5": "empty",
}

View File

@@ -134,8 +134,9 @@ spec:
servicePort: 8080
{{- end }}
{{- else }}
{{- $tenantEnv := .Namespace }}
{{- range $key, $value := .BackendImageVersionMap }}
- host: {{ $key }}.uavcloud-{{ .Namespace }}.io
- host: {{ $key }}.uavcloud-{{ $tenantEnv }}.io
http:
paths:
- path: /