[agent-deploy] - support for inner cmiii harbor image

This commit is contained in:
zeaslity
2024-06-11 15:23:03 +08:00
parent 4d44a9eac1
commit cb3daa503a
3 changed files with 16 additions and 0 deletions

View File

@@ -179,7 +179,11 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
{{ if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/dashboard:v2.0.1
{{ else }}
image: {{ .HarborIP }}/cmii/dashboard:v2.0.1
{{ end }}
ports:
- containerPort: 8443
protocol: TCP
@@ -260,7 +264,11 @@ spec:
spec:
containers:
- name: dashboard-metrics-scraper
{{ if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/metrics-scraper:v1.0.4
{{ else }}
image: {{ .HarborIP }}/cmii/metrics-scraper:v1.0.4
{{ end }}
ports:
- containerPort: 8000
protocol: TCP