From 5995c4a00f1b9f192ecbd56d5ffc8f0257efab40 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sun, 28 Dec 2025 16:34:41 +0300 Subject: [PATCH] Add https support to antietcd --- mon/antietcd_adapter.js | 3 +++ 1 file changed, 3 insertions(+) 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