Skip to content

Commit a221289

Browse files
authored
Merge branch 'development' into db-couple-with-config
2 parents 8b727d3 + b84c082 commit a221289

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

stable/mlrun/templates/db-configmap.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ data:
6060
--innodb-page-cleaners={{- .Values.db.dbConfiguration.innodb.pageCleaners }} \
6161
--innodb-io-capacity={{- .Values.db.dbConfiguration.innodb.IOCapacity }} \
6262
--innodb-flush-neighbors={{- .Values.db.dbConfiguration.innodb.flushNeighbors }} \
63+
{{- $extra := .Values.db.dbConfiguration.innodb.extraFlags -}}
64+
{{- if $extra }}
65+
{{- if kindIs "map" $extra }}
66+
{{- range $k, $v := $extra }}
67+
--{{ $k }}={{ $v }} \
68+
{{- end }}
69+
{{- else }}
70+
{{ $extra }} \
71+
{{- end }}
72+
{{- end }}
6373
--socket=$MYSQL_SOCKET_FILE \
6474
--admin-address={{- .Values.db.dbConfiguration.adminAddress }} \
6575
--admin-port={{- .Values.db.dbConfiguration.adminPort }}

stable/mlrun/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,12 @@ db:
570570
IOCapacity: 10000
571571
flushNeighbors: 0
572572

573+
# extraFlags: {} # extra flags to pass to the mysql server start command, example:
574+
# extraFlags:
575+
# innodb_use_native_aio: 0
576+
# will be passed as --innodb_use_native_aio=0
577+
578+
573579
ui:
574580
name: ui
575581
fullnameOverride:

0 commit comments

Comments
 (0)