Skip to content

Commit

Permalink
Support zookeeper 3.8.1 (#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
maltesander and maltesander committed May 26, 2023
1 parent 543091b commit a0f4a8a
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 25 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file.
- Generate OLM bundle for Release 23.4.0 ([#672]).
- Expose `ZOOKEEPER_CLIENT_PORT` in discovery CM ([#675], [#676]).
- Missing CRD defaults for `status.conditions` field ([#682]).
- Support for ZooKeeper `3.8.1` ([#689]).

### Changed

Expand All @@ -24,6 +25,7 @@ All notable changes to this project will be documented in this file.
[#676]: https://github.com/stackabletech/zookeeper-operator/pull/676
[#680]: https://github.com/stackabletech/zookeeper-operator/pull/680
[#682]: https://github.com/stackabletech/zookeeper-operator/pull/682
[#689]: https://github.com/stackabletech/zookeeper-operator/pull/689

## [23.4.0] - 2023-04-17

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.0.0-dev
servers:
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: {{ versions.zookeeper }}
servers:
roleGroups:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.0.0-dev
clusterConfig:
authentication:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.0.0-dev
clusterConfig:
tls:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/zookeeper/pages/config_properties.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: simple
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.0.0-dev
servers:
roleGroups:
Expand Down
1 change: 1 addition & 0 deletions docs/modules/zookeeper/partials/supported-versions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
- 3.6.3
- 3.7.0
- 3.8.0
- 3.8.1
2 changes: 1 addition & 1 deletion examples/simple-zookeeper-tls-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.0.0-dev
clusterConfig:
authentication:
Expand Down
4 changes: 2 additions & 2 deletions rust/crd/src/affinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ mod tests {
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.9.0
clusterConfig:
authentication:
Expand Down Expand Up @@ -126,7 +126,7 @@ mod tests {
name: simple-zk
spec:
image:
productVersion: 3.8.0
productVersion: 3.8.1
stackableVersion: 0.9.0
clusterConfig:
authentication:
Expand Down
30 changes: 15 additions & 15 deletions rust/crd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ impl Configuration for ZookeeperConfigFragment {
reason: e.to_string(),
})?;
let jvm_flags = [
format!("-javaagent:/stackable/jmx/jmx_prometheus_javaagent-0.16.1.jar={METRICS_PORT}:/stackable/jmx/server.yaml"),
format!("-javaagent:/stackable/jmx/jmx_prometheus_javaagent.jar={METRICS_PORT}:/stackable/jmx/server.yaml"),
match logging_framework {
LoggingFramework::LOG4J => format!("-Dlog4j.configuration=file:{STACKABLE_LOG_CONFIG_DIR}/{LOG4J_CONFIG_FILE}"),
LoggingFramework::LOGBACK => format!("-Dlogback.configurationFile={STACKABLE_LOG_CONFIG_DIR}/{LOGBACK_CONFIG_FILE}"),
Expand Down Expand Up @@ -665,8 +665,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
"#;
let zookeeper: ZookeeperCluster = serde_yaml::from_str(input).expect("illegal test input");
assert_eq!(
Expand All @@ -685,8 +685,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
clusterConfig:
tls:
serverSecretClass: simple-zookeeper-client-tls
Expand All @@ -709,8 +709,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
clusterConfig:
tls:
serverSecretClass: null
Expand All @@ -729,8 +729,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
clusterConfig:
tls:
quorumSecretClass: simple-zookeeper-quorum-tls
Expand All @@ -755,8 +755,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
"#;
let zookeeper: ZookeeperCluster = serde_yaml::from_str(input).expect("illegal test input");

Expand All @@ -776,8 +776,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
clusterConfig:
tls:
quorumSecretClass: simple-zookeeper-quorum-tls
Expand All @@ -799,8 +799,8 @@ mod tests {
name: simple-zookeeper
spec:
image:
productVersion: "3.8.0"
stackableVersion: "0.8.0"
productVersion: "3.8.1"
stackableVersion: "0.0.0-dev"
clusterConfig:
tls:
serverSecretClass: simple-zookeeper-server-tls
Expand Down
4 changes: 2 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ dimensions:
- 3.5.8-stackable0.0.0-dev
- 3.6.3-stackable0.0.0-dev
- 3.7.0-stackable0.0.0-dev
- 3.8.0-stackable0.0.0-dev
- 3.8.1-stackable0.0.0-dev
- name: zookeeper-latest
values:
- 3.8.0-stackable0.0.0-dev
- 3.8.1-stackable0.0.0-dev
- name: use-server-tls
values:
- "true"
Expand Down

0 comments on commit a0f4a8a

Please sign in to comment.