clickhouse-operator icon indicating copy to clipboard operation
clickhouse-operator copied to clipboard

Secure remote_servers section

Open UnamedRus opened this issue 4 years ago • 1 comments

In order to use secure tcp port(9440 by default) while running distributed queries, it's need to add secure setting in remote_servers settings. It would be great if clickhouse-operator could do that automatically (or at least we would be able to enable it via yaml) in case of using secure ports.

        <shard>
            <weight>1</weight>
            <internal_replication>true</internal_replication>
            <replica>
                <host>example01-02-1</host>
                <secure>1</secure>
                <port>9440</port>
            </replica>
            <replica>
                <host>example01-02-2</host>
                <secure>1</secure>
                <port>9440</port>
            </replica>
       <shard>

Also it would be great to have support for inter-server cluster secret. https://github.com/ClickHouse/ClickHouse/pull/13156

UnamedRus avatar Mar 09 '21 17:03 UnamedRus

I also hit this. Needs to be possible to set this to secure in the hostTemplates, or somewhere similar.

chancez avatar May 19 '22 22:05 chancez

Supported since https://github.com/Altinity/clickhouse-operator/releases/tag/release-0.20.0

alex-zaitsev avatar Mar 07 '23 07:03 alex-zaitsev