[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

@@ -40,11 +40,11 @@ spec:
- name: harborsecret
containers:
- name: {{ .AppName }}
{{ if .HarborPort }}
{{- if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/{{ .AppName }}:{{ .ImageTag }}
{{ else }}
{{- else }}
image: {{ .HarborIP }}/cmii/{{ .AppName }}:{{ .ImageTag }}
{{ end }}
{{- end }}
imagePullPolicy: Always
env:
- name: K8S_NAMESPACE