[Agent][Deploy] - support pure hostmode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user