Skip to content

Commit

Permalink
helm: use new service enabling flags
Browse files Browse the repository at this point in the history
  • Loading branch information
huww98 committed Apr 25, 2024
1 parent 8dfad40 commit 166519c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/chart/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,14 @@ spec:
- "--endpoint=$(CSI_ENDPOINT)"
- "--v=2"
- "--driver={{ include "enabledControllers" .Values.csi }}"
- --run-controller-service=true
- --run-node-service=false
{{- if not .Values.deploy.ecs }}
- --nodeid=$(KUBE_NODE_NAME)
{{- end }}
env:
- name: CSI_ENDPOINT
value: unix://var/lib/kubelet/csi-provisioner/driverplugin.csi.alibabacloud.com-replace/csi.sock
- name: SERVICE_TYPE
value: "provisioner"
{{- if .Values.deploy.ack }}
- name: "CLUSTER_ID"
value: {{ .Values.deploy.clusterID | quote }}
Expand Down
4 changes: 2 additions & 2 deletions deploy/chart/templates/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ spec:
- "--endpoint=$(CSI_ENDPOINT)"
- "--v=2"
- "--driver={{ include "enabledPlugins" .Values.csi }}"
- --run-controller-service=false
- --run-node-service=true
{{- if not .Values.deploy.ecs }}
- --nodeid=$(KUBE_NODE_NAME)
{{- end }}
Expand All @@ -163,8 +165,6 @@ spec:
fieldPath: spec.nodeName
- name: CSI_ENDPOINT
value: unix://var/lib/kubelet/csi-plugins/driverplugin.csi.alibabacloud.com-replace/csi.sock
- name: SERVICE_TYPE
value: "plugin"
- name: "DEFAULT_REGISTRY"
value: {{ .Values.images.workerRegistry | default .Values.images.registry | quote }}
{{- if .Values.deploy.ecsEndpoint }}
Expand Down

0 comments on commit 166519c

Please sign in to comment.