Skip to content

Commit d9d5c0f

Browse files
committed
pre commit
1 parent ecd4bd8 commit d9d5c0f

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file.
1010

1111
### Changed
1212

13-
- Adapted to [ZOOKEEPER-4276](https://issues.apache.org/jira/browse/ZOOKEEPER-4276). Removed `clientPort` and `secureClientPort` as well as
13+
- Adapted to [ZOOKEEPER-4276](https://issues.apache.org/jira/browse/ZOOKEEPER-4276). Removed `clientPort` and `secureClientPort` as well as
1414
`client.portUnification` from the `zoo.cfg` config. Secure ZooKeeper clusters now do not accept plain text connections anymore. ([#996]).
1515

1616
[#988]: https://github.com/stackabletech/zookeeper-operator/pull/988

rust/operator-binary/src/crd/security.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,11 @@ pub struct ZookeeperSecurity {
6363
}
6464

6565
impl ZookeeperSecurity {
66-
// ports
67-
pub const CLIENT_PORT: u16 = 2181;
68-
pub const SECURE_CLIENT_PORT: u16 = 2282;
6966
pub const ADMIN_PORT: u16 = 8080;
70-
// directories
67+
pub const CLIENT_PORT: u16 = 2181;
7168
pub const QUORUM_TLS_DIR: &'static str = "/stackable/quorum_tls";
7269
pub const QUORUM_TLS_MOUNT_DIR: &'static str = "/stackable/quorum_tls_mount";
70+
pub const SECURE_CLIENT_PORT: u16 = 2282;
7371
pub const SERVER_CNXN_FACTORY: &'static str = "serverCnxnFactory";
7472
pub const SERVER_TLS_DIR: &'static str = "/stackable/server_tls";
7573
pub const SERVER_TLS_MOUNT_DIR: &'static str = "/stackable/server_tls_mount";

0 commit comments

Comments
 (0)