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

Use secureClientPort instead of clientPort

Open maltesander opened this issue 2 years ago • 1 comments

Currently for TLS and authentication we use the clientPort instead of secureClientPort due to a bug in ZooKeeper (https://issues.apache.org/jira/browse/ZOOKEEPER-4276).

Once this is fixed and we should switch from clientPort to secureClientPort and remove the portUnification property (allows plaintext and secured communication via the same port).

The necessary steps are documented in the code (see rust/crd/src/lib.rs)

Since this does not work in versions 3.8.0 or lower, it will be a little more work to differentiate between zookeeper versions with and without that bug.

Relates to PR https://github.com/stackabletech/zookeeper-operator/pull/479.

maltesander avatar May 06 '22 14:05 maltesander