Ft/riak-split (#225)

This commit is contained in:
vilorij 2021-09-21 23:04:02 +03:00 committed by GitHub
parent 0909e06ee1
commit a3af50d523
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View File

@ -26,7 +26,7 @@
{storage, cds_storage_riak}, {storage, cds_storage_riak},
{cds_storage_riak, #{ {cds_storage_riak, #{
conn_params => #{ conn_params => #{
host => "riak", host => "{{ .Values.services.riak.riakCdAddress | default "riak" }}",
port => 8087, port => 8087,
options => #{ options => #{
connect_timeout => 1000, connect_timeout => 1000,

View File

@ -15,7 +15,7 @@ imagePullSecrets:
configMap: configMap:
data: data:
sys.config: | sys.config: |
{{- readFile "sys.config" | nindent 6 }} {{- tpl (readFile "sys.config.gotmpl") . | nindent 6 }}
erl_inetrc: | erl_inetrc: |
{{- tpl (readFile "../vm/erl_inetrc.gotmpl") . | nindent 6 }} {{- tpl (readFile "../vm/erl_inetrc.gotmpl") . | nindent 6 }}
vm.args: | vm.args: |

View File

@ -19,7 +19,7 @@ woody_server:
storage: storage:
type: riak type: riak
host: riak host: {{ .Values.services.riak.riakMgAddress | default "riak" }}
port: 8087 port: 8087
pool: pool:
size: 100 size: 100

View File

@ -55,3 +55,7 @@ services:
# If use Lets Encrypt for cert this value will be used as suffix for secrets with certs # If use Lets Encrypt for cert this value will be used as suffix for secrets with certs
secretName: sometlssecret secretName: sometlssecret
riak:
splitDss: false
riakMgAddress: riak
riakCdAddress: riak