diff --git a/helm-charts/core/ci/local_chart/kubernetes-management/templates/deployment.yaml b/helm-charts/core/ci/local_chart/kubernetes-management/templates/deployment.yaml index cc3ea179992..c33db167c18 100644 --- a/helm-charts/core/ci/local_chart/kubernetes-management/templates/deployment.yaml +++ b/helm-charts/core/ci/local_chart/kubernetes-management/templates/deployment.yaml @@ -109,7 +109,7 @@ spec: {{- end}} {{- if .Values.kubernetesManager.docker.enable }} - name: kuberentes-manager-docker - image: {{ .Values.kubernetesManager.docker.image }} + image: "{{ .Values.kubernetesManager.docker.image.registry }}/{{ .Values.kubernetesManager.docker.image.repository }}:{{ .Values.kubernetesManager.docker.image.tag }}" command: ["dockerd", "--host", "tcp://localhost:2375"] {{- if .Values.kubernetesManager.docker.resources }} resources: {{- toYaml .Values.kubernetesManager.docker.resources | nindent 12 }} diff --git a/helm-charts/core/ci/local_chart/kubernetes-management/values.yaml b/helm-charts/core/ci/local_chart/kubernetes-management/values.yaml index eae87f54fb6..a67430a5b30 100644 --- a/helm-charts/core/ci/local_chart/kubernetes-management/values.yaml +++ b/helm-charts/core/ci/local_chart/kubernetes-management/values.yaml @@ -159,7 +159,10 @@ kubernetesManager: # manager使用docker相关配置,会启用特权模式容器 docker: enable: false - image: docker:24.0.1-dind + image: + registry: registry-1.docker.io + repository: docker + tag: 24.0.1-dind resources: requests: cpu: 50m