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 Jul 20, 2024
1 parent 4500ed1 commit a108143
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 @@ -269,15 +269,15 @@ 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 -}}
{{- if not .Values.deploy.ecs }}
- --nodeid=$(KUBE_NODE_NAME)
{{- end }}
env:
- 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 @@ -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 -}}
Expand All @@ -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 }}
Expand Down

0 comments on commit a108143

Please sign in to comment.