Skip to content

Commit 5511a98

Browse files
sbernauerrazvan
andauthored
fix: Place internal secrets in mutable Kubernetes Secrets (#876)
* fix: Place internal secrets in mutable Kubernetes Secrets * changelog * Improve docs * use op-rs version of internal secrets * remove unused error variants * Update rust/operator-binary/src/controller.rs Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.de> * rename error variant --------- Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
1 parent 4e89eac commit 5511a98

File tree

6 files changed

+21
-264
lines changed

6 files changed

+21
-264
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ All notable changes to this project will be documented in this file.
99
- Bump stackable-operator to 0.109.0 ([#877]).
1010
- Warn when an unsupported OIDC client authentication method is configured ([#877]).
1111

12+
### Fixed
13+
14+
- Previously, the shared secret as well as the client spooling secret have been placed in immutable Kubernetes Secrets.
15+
This caused problems, as they have been cached by Kubernetes, so re-creations of the mentioned Secrets (e.g. by deleting and re-creating the stacklet)
16+
could cause Trino Pods to have different shared secrets, causing workers failing to join the coordinator.
17+
This fix places the secrets in mutable Kubernetes Secrets going forward and migrates existing immutable Secrets to mutable by re-creating them ([#876]).
18+
19+
[#876]: https://github.com/stackabletech/trino-operator/pull/876
1220
[#877]: https://github.com/stackabletech/trino-operator/pull/877
1321

1422
## [26.3.0] - 2026-03-16

Cargo.lock

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

Cargo.nix

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

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ clap = "4.5"
2020
const_format = "0.2"
2121
futures = { version = "0.3", features = ["compat"] }
2222
indoc = "2.0"
23-
openssl = "0.10"
2423
rstest = "0.26"
2524
serde = { version = "1.0", features = ["derive"] }
2625
serde_json = "1.0"

rust/operator-binary/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ clap.workspace = true
1919
const_format.workspace = true
2020
futures.workspace = true
2121
indoc.workspace = true
22-
openssl.workspace = true
2322
snafu.workspace = true
2423
strum.workspace = true
2524
tokio.workspace = true

0 commit comments

Comments
 (0)