Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
no tls config if disabled
Browse files Browse the repository at this point in the history
Signed-off-by: Sergio Nemirowski <sergio@outerface.net>
  • Loading branch information
532910 committed Jul 6, 2023
1 parent 3912dbc commit 79e54c6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,6 @@ neofs_ir__sidechain_config:
seed_nodes: '{{ neofs_ir__blockchain_seed_nodes }}'
rpc:
listen: '{{ neofs_ir__blockchain_rpc_addresses }}'
tls:
enabled: '{{ neofs_ir__blockchain_tls_rpc_enabled }}'
listen: '{{ neofs_ir__blockchain_tls_rpc_addresses }}'
cert_file: '{{ neofs_ir__blockchain_tls_rpc_cert }}'
key_file: '{{ neofs_ir__blockchain_tls_rpc_key }}'
p2p:
dial_timeout: 3s
proto_tick_interval: 2s
Expand Down Expand Up @@ -198,6 +193,16 @@ neofs_ir__default_config:
morph:
consensus: '{{ neofs_ir__sidechain_config }}'

- enabled: '{{ neofs_ir__blockchain_tls_rpc_enabled }}'
options:
morph:
consensus:
rpc:
tls:
listen: '{{ neofs_ir__blockchain_tls_rpc_addresses }}'
cert_file: '{{ neofs_ir__blockchain_tls_rpc_cert }}'
key_file: '{{ neofs_ir__blockchain_tls_rpc_key }}'

- enabled: '{{ neofs_ir__control_enabled }}'
options:
control:
Expand Down

0 comments on commit 79e54c6

Please sign in to comment.