Skip to content

Commit 3a75aaf

Browse files
Techassisbernauer
andauthored
feat: Support dynamic image repositories (#818)
* feat: Support dynamic image repositories * test: Add placeholder values to satify roundtrip tests * fix: Bump rustls-webpki to 0.103.13 to negate RUSTSEC-2026-0104 * test: Use yaml_from_str_singleton_map helper instead of defining own * test: Add CRD roundtrip test data * chore: Add changelog entry --------- Co-authored-by: Sebastian Bernauer <sebastian.bernauer@stackable.tech>
1 parent e56e5ea commit 3a75aaf

11 files changed

Lines changed: 174 additions & 73 deletions

File tree

CHANGELOG.md

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

77
### Added
88

9+
- BREAKING: Add required CLI argument and env var to set the image repository used to construct final product image names: `IMAGE_REPOSITORY` (`--image-repository`), eg. `oci.example.org/my/namespace` ([#818]).
910
- Support OIDC `clientAuthenticationMethod` configuration ([#813]).
1011

1112
### Changed
@@ -16,6 +17,7 @@ All notable changes to this project will be documented in this file.
1617

1718
[#810]: https://github.com/stackabletech/druid-operator/pull/810
1819
[#813]: https://github.com/stackabletech/druid-operator/pull/813
20+
[#818]: https://github.com/stackabletech/druid-operator/pull/818
1921

2022
## [26.3.0] - 2026-03-16
2123

Cargo.lock

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

Cargo.nix

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repository = "https://github.com/stackabletech/druid-operator"
1111

1212
[workspace.dependencies]
1313
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.8.0" }
14-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.110.1", features = ["crds", "webhook"] }
14+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.111.0", features = ["crds", "webhook"] }
1515

1616
anyhow = "1.0"
1717
built = { version = "0.8", features = ["chrono", "git2"] }

crate-hashes.json

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

extra/crds.yaml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3575,8 +3575,9 @@ spec:
35753575
properties:
35763576
custom:
35773577
description: |-
3578-
Overwrite the docker image.
3579-
Specify the full docker image name, e.g. `oci.stackable.tech/sdp/superset:1.4.1-stackable2.1.0`
3578+
Provide a custom container image.
3579+
3580+
Specify the full container image name, e.g. `oci.example.tech/namespace/superset:1.4.1-my-tag`
35803581
type: string
35813582
productVersion:
35823583
description: Version of the product, e.g. `1.4.1`.
@@ -3603,14 +3604,20 @@ spec:
36033604
nullable: true
36043605
type: array
36053606
repo:
3606-
description: Name of the docker repo, e.g. `oci.stackable.tech/sdp`
3607+
description: |-
3608+
The repository on the container image registry where the container image is located, e.g.
3609+
`oci.example.com/namespace`.
3610+
3611+
If not specified, the operator will use the image registry provided via the operator
3612+
environment options.
36073613
nullable: true
36083614
type: string
36093615
stackableVersion:
36103616
description: |-
36113617
Stackable version of the product, e.g. `23.4`, `23.4.1` or `0.0.0-dev`.
3612-
If not specified, the operator will use its own version, e.g. `23.4.1`.
3613-
When using a nightly operator or a pr version, it will use the nightly `0.0.0-dev` image.
3618+
3619+
If not specified, the operator will use its own version, e.g. `23.4.1`. When using a nightly
3620+
operator or a PR version, it will use the nightly `0.0.0-dev` image.
36143621
nullable: true
36153622
type: string
36163623
type: object

0 commit comments

Comments
 (0)