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 }}