From a1081439b3f666663c58ff124eda07150338e313 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E7=8E=AE=E6=96=87?= Date: Thu, 25 Apr 2024 15:12:00 +0800 Subject: [PATCH] helm: use new service enabling flags --- deploy/chart/templates/controller.yaml | 4 ++-- deploy/chart/templates/plugin.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/chart/templates/controller.yaml b/deploy/chart/templates/controller.yaml index ab9c76774..63b5cb8b7 100644 --- a/deploy/chart/templates/controller.yaml +++ b/deploy/chart/templates/controller.yaml @@ -269,6 +269,8 @@ spec: - "--endpoint=unix://csi/driverplugin.csi.alibabacloud.com-replace/csi.sock" - "--v=2" - "--driver={{ include "enabledControllers" .Values.csi }}" + - --run-controller-service=true + - --run-node-service=false {{- if .Values.deploy.featureGates }} - "--feature-gates={{ .Values.deploy.featureGates }}" {{- end -}} @@ -276,8 +278,6 @@ spec: - --nodeid=$(KUBE_NODE_NAME) {{- end }} env: - - name: SERVICE_TYPE - value: "provisioner" {{- if .Values.deploy.ack }} - name: "CLUSTER_ID" value: {{ .Values.deploy.clusterID | quote }} diff --git a/deploy/chart/templates/plugin.yaml b/deploy/chart/templates/plugin.yaml index fca323dfe..c07ad227e 100644 --- a/deploy/chart/templates/plugin.yaml +++ b/deploy/chart/templates/plugin.yaml @@ -99,6 +99,8 @@ spec: - "--endpoint=unix://csi/driverplugin.csi.alibabacloud.com-replace/csi.sock" - "--v=2" - "--driver={{ include "enabledPlugins" $nodePool.csi }}" + - --run-controller-service=false + - --run-node-service=true {{- if $nodePool.deploy.featureGates }} - "--feature-gates={{ $nodePool.deploy.featureGates }}" {{- end -}} @@ -111,8 +113,6 @@ spec: fieldRef: apiVersion: v1 fieldPath: spec.nodeName - - name: SERVICE_TYPE - value: "plugin" - name: "DEFAULT_REGISTRY" value: {{ $nodePool.images.workerRegistry | default $nodePool.images.registry | quote }} {{- if $nodePool.deploy.ecsEndpoint }}