Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - Removed tools image #358

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
- Upgrade to `operator-rs` `0.27.1` ([#347])
- Do not run init container as root anymore and avoid chmod and chown ([#353])
- [BREAKING] Use Product image selection instead of version. `spec.version` has been replaced by `spec.image` ([#356])
- [BREAKING]: Removed tools image from init container and replaced with Druid product image. This means the latest stackable version has to be used in the product image selection ([#358])
sbernauer marked this conversation as resolved.
Show resolved Hide resolved

### Removed

Expand All @@ -29,6 +30,7 @@ All notable changes to this project will be documented in this file.
[#347]: https://github.com/stackabletech/druid-operator/pull/347
[#353]: https://github.com/stackabletech/druid-operator/pull/353
[#356]: https://github.com/stackabletech/druid-operator/pull/356
[#358]: https://github.com/stackabletech/druid-operator/pull/358

## [0.8.0] - 2022-11-07

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
hdfs:
Expand Down
2 changes: 1 addition & 1 deletion docs/modules/getting_started/examples/code/druid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
hdfs:
Expand Down
2 changes: 1 addition & 1 deletion examples/psql-s3/psql-s3-druid-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
s3:
Expand Down
2 changes: 1 addition & 1 deletion examples/psql/psql-hdfs-druid-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
hdfs:
Expand Down
2 changes: 1 addition & 1 deletion examples/tls/tls-druid-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
authentication:
tls:
Expand Down
2 changes: 1 addition & 1 deletion rust/crd/test/resources/resource_merge/druid_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
hdfs:
Expand Down
2 changes: 1 addition & 1 deletion rust/crd/test/resources/resource_merge/segment_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
hdfs:
Expand Down
2 changes: 1 addition & 1 deletion rust/crd/test/resources/role_service/druid_cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
hdfs:
Expand Down
3 changes: 1 addition & 2 deletions rust/operator-binary/src/druid_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,10 +653,9 @@ fn build_rolegroup_statefulset(
let prepare_container_command = tls_settings.build_tls_key_stores_cmd();

cb_prepare
.image("docker.stackable.tech/stackable/tools:0.2.0-stackable0")
.image_from_product_image(resolved_product_image)
.command(vec!["/bin/bash".to_string(), "-c".to_string()])
.args(vec![prepare_container_command.join(" && ")])
.image_pull_policy("IfNotPresent")
.build();

// rest of env
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
spec:
image:
productVersion: 24.0.0
stackableVersion: 0.2.0
stackableVersion: 0.3.0
clusterConfig:
deepStorage:
s3:
Expand Down
4 changes: 2 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
dimensions:
- name: druid
values:
- 0.23.0-stackable0.2.0
- 24.0.0-stackable0.2.0
- 0.23.0-stackable0.3.0
- 24.0.0-stackable0.3.0
- name: zookeeper
values:
- 3.7.0-stackable0.8.0
Expand Down