From 511131e10296985f179c0031e3abe6252be9e123 Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Fri, 15 Aug 2025 11:55:08 +0200 Subject: [PATCH 1/2] fix: spark connect image pull secrets not passed to executors --- CHANGELOG.md | 6 ++++++ rust/operator-binary/src/connect/executor.rs | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5802bd98..dadf8b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +### Fixed + +- SparkConnectServer: imagePullSecret is not passed to Spark executor pods ([#603]). + +[#603]: https://github.com/stackabletech/spark-k8s-operator/pull/603 + ## [25.7.0] - 2025-07-23 ## [25.7.0-rc1] - 2025-07-18 diff --git a/rust/operator-binary/src/connect/executor.rs b/rust/operator-binary/src/connect/executor.rs index 7c3faf6f..bd1bd34b 100644 --- a/rust/operator-binary/src/connect/executor.rs +++ b/rust/operator-binary/src/connect/executor.rs @@ -132,6 +132,7 @@ pub fn executor_pod_template( let mut template = PodBuilder::new(); template .metadata(metadata) + .image_pull_secrets_from_product_image(resolved_product_image) .affinity(&config.affinity) .add_volume( VolumeBuilder::new(VOLUME_MOUNT_NAME_LOG) From 1d98677663e020c8bf36b0b4233e3140465b55bf Mon Sep 17 00:00:00 2001 From: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com> Date: Fri, 15 Aug 2025 12:11:26 +0200 Subject: [PATCH 2/2] Update CHANGELOG.md Co-authored-by: Sebastian Bernauer --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dadf8b7d..ce5e6859 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,7 @@ All notable changes to this project will be documented in this file. ### Fixed -- SparkConnectServer: imagePullSecret is not passed to Spark executor pods ([#603]). +- SparkConnectServer: The `imagePullSecret` is now correctly passed to Spark executor pods ([#603]). [#603]: https://github.com/stackabletech/spark-k8s-operator/pull/603