Skip to content

Commit b6fceb0

Browse files
authored
Merge branch 'main' into feat/roundtrip-tests
2 parents c828cd8 + bf378d9 commit b6fceb0

44 files changed

Lines changed: 2464 additions & 433 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 319 additions & 387 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ product-config = { git = "https://github.com/stackabletech/product-config.git",
1414
arc-swap = "1.7.0"
1515
async-trait = "0.1.89"
1616
axum = { version = "0.8.1", features = ["http2"] }
17+
base64 = "0.22"
1718
clap = { version = "4.5.17", features = ["derive", "cargo", "env"] }
1819
const_format = "0.2.33"
1920
# Cannot be updated until x509-cert uses a newer version
@@ -41,8 +42,7 @@ json-patch = "4.0.0"
4142
k8s-openapi = { version = "0.27.0", default-features = false, features = ["schemars", "v1_35"] }
4243
# We use rustls instead of openssl for easier portability, e.g. so that we can build stackablectl without the need to vendor (build from source) openssl
4344
# We use ring instead of aws-lc-rs, as this currently fails to build in "make run-dev"
44-
# We need a few schema fixes in kube, that went into main, but are not released yet
45-
kube = { git = "https://github.com/kube-rs/kube-rs", rev = "fe69cc486ff8e62a7da61d64ec3ebbd9e64c43b5", version = "=3.0.1", default-features = false, features = ["client", "jsonpatch", "runtime", "derive", "admission", "rustls-tls", "ring"] }
45+
kube = { version = "3.1.0", default-features = false, features = ["client", "jsonpatch", "runtime", "derive", "admission", "rustls-tls", "ring"] }
4646
opentelemetry = "0.31.0"
4747
opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio"] }
4848
opentelemetry-appender-tracing = "0.31.0"
@@ -68,7 +68,7 @@ serde_json = "1.0.128"
6868
serde_yaml = "0.9.34" # This is the last available version, see https://github.com/dtolnay/serde-yaml/releases/tag/0.9.34 for details
6969
sha2 = { version = "0.10.8", features = ["oid"] }
7070
signature = "2.2.0"
71-
snafu = "0.8.4"
71+
snafu = "0.9.0"
7272
stackable-operator-derive = { path = "stackable-operator-derive" }
7373
strum = { version = "0.28.0", features = ["derive"] }
7474
syn = "2.0.77"

crates/stackable-operator/CHANGELOG.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,53 @@ All notable changes to this project will be documented in this file.
66

77
### Added
88

9+
- Add generic database connection mechanism ([#1163]).
10+
11+
### Changed
12+
13+
- BREAKING: Change signature of `ContainerBuilder::add_env_vars` from `Vec<EnvVar>` to `IntoIterator<Item = EnvVar>` ([#1163]).
14+
- BREAKING: Remove `EXPERIMENTAL_` prefix in `CONFIG_OVERRIDE_FILE_HEADER_KEY` and `CONFIG_OVERRIDE_FILE_FOOTER_KEY` ([#1191]).
15+
- BREAKING: Bump `kube` from a custom version (`fe69cc486ff8e62a7da61d64ec3ebbd9e64c43b5`, which is between `3.0.1` and `3.1.0` and was needed to pull in schema fixes) to `3.1.0`. This means that the CRD schema generation bugs [#1934](https://github.com/kube-rs/kube/pull/1934) and [#1942](https://github.com/kube-rs/kube/pull/1942) are fixed ([#1192]).
16+
17+
[#1163]: https://github.com/stackabletech/operator-rs/pull/1163
18+
[#1191]: https://github.com/stackabletech/operator-rs/pull/1191
19+
[#1192]: https://github.com/stackabletech/operator-rs/pull/1192
20+
21+
## [0.109.0] - 2026-04-07
22+
23+
### Added
24+
925
- Git sync: add support for CAs ([#1154]).
1026
- Add support for specifying a `clientAuthenticationMethod` for OIDC ([#1178]).
1127
This was originally done in [#1158] and had been reverted in [#1170].
1228
- Implement `Deref` for `kvp::Key` to be more ergonomic to use ([#1182]).
29+
- Add `create_random_secret_if_not_exists` function, which create a random Secret in case it doesn't already exist.
30+
It notably also fixes a bug we had in trino and airflow-operator, where we created immutable Secrets,
31+
which lead to problems ([#1187]).
32+
33+
### Changed
34+
35+
- Bump stackable-versioned to `0.9.0`, refer to its [changelog](../stackable-versioned/CHANGELOG.md) ([#1189]).
36+
- Bump stackable-webhook to `0.9.1`, refer to its [changelog](../stackable-webhook/CHANGELOG.md) ([#1189]).
37+
- BREAKING: Add mandatory `provision_parts` argument to `SecretOperatorVolumeSourceBuilder::new` ([#1165]).
38+
It now forces the caller to make an explicit choice if the public parts are sufficient or if private
39+
(e.g. a certificate for the Pod) parts are needed as well. This is done to avoid accidentally requesting
40+
too much parts. For details see [this issue](https://github.com/stackabletech/issues/issues/547).
41+
42+
Additionally, `SecretClassVolume::to_volume` and `SecretClassVolume::to_ephemeral_volume_source`
43+
also take the same new argument.
1344

1445
### Removed
1546

1647
- BREAKING: Remove unused `add_prefix`, `try_add_prefix`, `set_name`, and `try_set_name` associated
1748
functions from `kvp::Key` to disallow mutable access to inner values ([#1182]).
1849

1950
[#1154]: https://github.com/stackabletech/operator-rs/pull/1154
51+
[#1165]: https://github.com/stackabletech/operator-rs/pull/1165
2052
[#1178]: https://github.com/stackabletech/operator-rs/pull/1178
2153
[#1182]: https://github.com/stackabletech/operator-rs/pull/1182
54+
[#1187]: https://github.com/stackabletech/operator-rs/pull/1187
55+
[#1189]: https://github.com/stackabletech/operator-rs/pull/1189
2256

2357
## [0.108.0] - 2026-03-10
2458

crates/stackable-operator/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "stackable-operator"
33
description = "Stackable Operator Framework"
4-
version = "0.108.0"
4+
version = "0.109.0"
55
authors.workspace = true
66
license.workspace = true
77
edition.workspace = true
@@ -25,6 +25,7 @@ stackable-telemetry = { path = "../stackable-telemetry", features = ["clap"] }
2525
stackable-versioned = { path = "../stackable-versioned", optional = true }
2626
stackable-webhook = { path = "../stackable-webhook", optional = true }
2727

28+
base64.workspace = true
2829
clap.workspace = true
2930
const_format.workspace = true
3031
delegate.workspace = true
@@ -39,6 +40,7 @@ json-patch.workspace = true
3940
k8s-openapi.workspace = true
4041
kube.workspace = true
4142
product-config.workspace = true
43+
rand.workspace = true
4244
regex.workspace = true
4345
schemars.workspace = true
4446
semver.workspace = true

0 commit comments

Comments
 (0)