[Agent][GO] - fix deploy bugs

This commit is contained in:
zeaslity
2024-07-17 16:22:40 +08:00
parent 034ae3d25b
commit b7daaddf1e
47 changed files with 25342 additions and 26 deletions

View File

@@ -21,13 +21,13 @@ metadata:
name: test-pod
spec:
imagePullSecrets:
- name: harborsecret
- name: harborsecret
containers:
- name: test-pod
{{- if .HarborPort }}
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/busybox:latest
image: {{ .HarborIPOrCustomImagePrefix }}:{{ .HarborPort }}/cmii/busybox:latest
{{- else }}
image: {{ .HarborIPOrCustomImagePrefix }}busybox:latest
image: {{ .HarborIPOrCustomImagePrefix }}busybox:latest
{{- end }}
command:
- "/bin/sh"