[Agent][Deploy] - cmii update

This commit is contained in:
zeaslity
2024-06-12 14:09:49 +08:00
parent 4b782328db
commit f1fdfc7777
15 changed files with 51 additions and 17 deletions

View File

@@ -43,7 +43,7 @@ spec:
{{- if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/{{ .AppName }}:{{ .ImageTag }}
{{- else }}
image: {{ .HarborIP }}/cmii/{{ .AppName }}:{{ .ImageTag }}
image: {{ .HarborIP }}{{ .AppName }}:{{ .ImageTag }}
{{- end }}
imagePullPolicy: Always
env:

View File

@@ -33,7 +33,7 @@ spec:
{{- if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/{{ .AppName }}:{{ .ImageTag }}
{{- else }}
image: {{ .HarborIP }}/cmii/{{ .AppName }}:{{ .ImageTag }}
image: {{ .HarborIP }}{{ .AppName }}:{{ .ImageTag }}
{{- end }}
imagePullPolicy: Always
env:

View File

@@ -10,7 +10,11 @@ data:
ingress-config.js: |-
var __GlobalIngressConfig = {
TenantEnvironment: "{{ .TenantEnv }}",
{{- if .WebPort }}
CloudHOST: "{{ .WebIP }}:{{ .WebPort }}",
{{- else }}
CloudHOST: "{{ .WebIP }}",
{{- end }}
{{- if eq .ShortName "pangu" }}
ApplicationShortName: "",
{{- else }}