Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions helm-charts/doris/templates/doriscluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ spec:
command: {{ .Values.feSpec.systemInitialization.command }}
{{- end }}
{{- end }}
{{- if .Values.feSpec.serviceAccount }}
serviceAccount: {{ .Values.feSpec.serviceAccount }}
{{- end }}
beSpec:
{{- if .Values.beSpec.annotations }}
annotations:
Expand Down Expand Up @@ -215,6 +218,9 @@ spec:
command: {{ .Values.beSpec.systemInitialization.command }}
{{- end }}
{{- end }}
{{- if .Values.beSpec.serviceAccount }}
serviceAccount: {{ .Values.beSpec.serviceAccount }}
{{- end }}
{{- if .Values.dorisCluster.enabledCn }}
cnSpec:
{{- if .Values.cnSpec.annotations }}
Expand Down Expand Up @@ -303,6 +309,9 @@ spec:
command: {{ .Values.cnSpec.systemInitialization.command }}
{{- end }}
{{- end }}
{{- if .Values.cnSpec.serviceAccount }}
serviceAccount: {{ .Values.cnSpec.serviceAccount }}
{{- end }}
{{- if .Values.cnSpec.autoScalingPolicy.enable }}
autoScalingPolicy:
version: {{default ( include "doriscluster.default.autoScalerVersion" . ) .Values.cnSpec.autoScalingPolicy.version }}
Expand Down Expand Up @@ -384,4 +393,7 @@ spec:
command: {{ .Values.brokerSpec.systemInitialization.command }}
{{- end }}
{{- end }}
{{- if .Values.brokerSpec.serviceAccount }}
serviceAccount: {{ .Values.brokerSpec.serviceAccount }}
{{- end }}
{{- end }}
6 changes: 4 additions & 2 deletions helm-charts/doris/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ feSpec:
systemInitialization: {}
# initImage: "selectdb/alpine:latest"
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
serviceAccount: ""

beSpec:
# annotations for be pods and service
Expand Down Expand Up @@ -383,6 +384,7 @@ beSpec:
systemInitialization: {}
# initImage: "selectdb/alpine:latest"
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
serviceAccount: ""

cnSpec:
# annotations for cn pods and service
Expand Down Expand Up @@ -551,6 +553,7 @@ cnSpec:
systemInitialization: {}
# initImage: "selectdb/alpine:latest"
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]
serviceAccount: ""
# specific cn auto scale policy
autoScalingPolicy:
enable: true
Expand Down Expand Up @@ -707,5 +710,4 @@ brokerSpec:
systemInitialization: {}
# initImage: "selectdb/alpine:latest"
# command: [ "/sbin/sysctl", "-w", "vm.max_map_count=2000000" ]


serviceAccount: ""