[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

@@ -96,7 +96,11 @@ spec:
serviceAccountName: nfs-client-provisioner
containers:
- name: nfs-client-provisioner
{{- if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/nfs-subdir-external-provisioner:v4.0.2
{{- else }}
image: {{ .HarborIP }}/cmii/nfs-subdir-external-provisioner:v4.0.2
{{- end }}
volumeMounts:
- name: nfs-client-root
mountPath: /persistentvolumes

View File

@@ -22,7 +22,11 @@ metadata:
spec:
containers:
- name: test-pod
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/busybox
{{- if .HarborPort }}
image: {{ .HarborIP }}:{{ .HarborPort }}/cmii/busybox:latest
{{- else }}
image: {{ .HarborIP }}/cmii/busybox:latest
{{- end }}
command:
- "/bin/sh"
args: