Skip to content

Commit 3dc926d

Browse files
committed
Add ability to set box.cfg parameters in RolesConfig
Example: BoxParameters: replication_synchro_quorum: 3 These parameters pass to pods as environment variables and haven't validated.
1 parent 3aa19a3 commit 3dc926d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

helm-charts/tarantool-cartridge/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: "1.0"
33
description: A Helm chart for tarantool
44
name: cartridge
5-
version: 0.0.12
5+
version: 0.0.13

helm-charts/tarantool-cartridge/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,10 @@ spec:
119119
value: "60"
120120
- name: TARANTOOL_HTTP_PORT
121121
value: "8081"
122+
{{- range $param, $value := .BoxParameters }}
123+
- name: "TARANTOOL_{{ $param | upper }}"
124+
value: "{{ $value }}"
125+
{{- end }}
122126
readinessProbe:
123127
tcpSocket:
124128
port: http

0 commit comments

Comments
 (0)