File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,9 @@ spec:
129129 command : {{ .Values.feSpec.systemInitialization.command }}
130130 {{- end }}
131131 {{- end }}
132+ {{- if .Values.feSpec.serviceAccount }}
133+ serviceAccount : {{ .Values.feSpec.serviceAccount }}
134+ {{- end }}
132135 beSpec :
133136 {{- if .Values.beSpec.annotations }}
134137 annotations :
@@ -215,6 +218,9 @@ spec:
215218 command : {{ .Values.beSpec.systemInitialization.command }}
216219 {{- end }}
217220 {{- end }}
221+ {{- if .Values.beSpec.serviceAccount }}
222+ serviceAccount : {{ .Values.beSpec.serviceAccount }}
223+ {{- end }}
218224 {{- if .Values.dorisCluster.enabledCn }}
219225 cnSpec :
220226 {{- if .Values.cnSpec.annotations }}
@@ -303,6 +309,9 @@ spec:
303309 command : {{ .Values.cnSpec.systemInitialization.command }}
304310 {{- end }}
305311 {{- end }}
312+ {{- if .Values.cnSpec.serviceAccount }}
313+ serviceAccount : {{ .Values.cnSpec.serviceAccount }}
314+ {{- end }}
306315 {{- if .Values.cnSpec.autoScalingPolicy.enable }}
307316 autoScalingPolicy :
308317 version : {{default ( include "doriscluster.default.autoScalerVersion" . ) .Values.cnSpec.autoScalingPolicy.version }}
@@ -384,4 +393,7 @@ spec:
384393 command : {{ .Values.brokerSpec.systemInitialization.command }}
385394 {{- end }}
386395 {{- end }}
396+ {{- if .Values.brokerSpec.serviceAccount }}
397+ serviceAccount : {{ .Values.brokerSpec.serviceAccount }}
398+ {{- end }}
387399 {{- end }}
Original file line number Diff line number Diff line change @@ -216,6 +216,7 @@ feSpec:
216216 systemInitialization : {}
217217 # initImage: "selectdb/alpine:latest"
218218 # command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
219+ serviceAccount : " "
219220
220221beSpec :
221222 # annotations for be pods and service
@@ -383,6 +384,7 @@ beSpec:
383384 systemInitialization : {}
384385 # initImage: "selectdb/alpine:latest"
385386 # command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
387+ serviceAccount : " "
386388
387389cnSpec :
388390 # annotations for cn pods and service
@@ -551,6 +553,7 @@ cnSpec:
551553 systemInitialization : {}
552554 # initImage: "selectdb/alpine:latest"
553555 # command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
556+ serviceAccount : " "
554557 # specific cn auto scale policy
555558 autoScalingPolicy :
556559 enable : true
@@ -707,5 +710,4 @@ brokerSpec:
707710 systemInitialization : {}
708711 # initImage: "selectdb/alpine:latest"
709712 # command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
710-
711-
713+ serviceAccount : " "
You can’t perform that action at this time.
0 commit comments