diff --git a/mon/antietcd_adapter.js b/mon/antietcd_adapter.js index dfd6408c..ca0589c1 100644 --- a/mon/antietcd_adapter.js +++ b/mon/antietcd_adapter.js @@ -48,6 +48,9 @@ class AntiEtcdAdapter const antietcd_config = { ip: selected[0].ip, port: selected[0].port, + cert: config.antietcd_cert, + key: config.antietcd_key, + ca: config.etcd_ca, data: config.antietcd_data_file || ((config.antietcd_data_dir || '/var/lib/vitastor') + '/mon_'+selected[0].port+'.json.gz'), persist_filter: vitastor_persist_filter({ vitastor_prefix: config.etcd_prefix || '/vitastor' }), node_id: cluster[selected[0].idx].replace(/^(https?:\/\/)/, ''), // same as in below