[Agent][Deploy] - support pure hostmode

This commit is contained in:
zeaslity
2024-06-11 15:49:37 +08:00
parent cb3daa503a
commit 4b782328db
20 changed files with 7408 additions and 22 deletions

View File

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