Skip to content

Commit 91d0a20

Browse files
adwk67xeniape
andauthored
chore: add oci references, merge templating changes (#810)
* replace docker references with oci * bump operator-rs to 0.85 * changelog --------- Co-authored-by: Xenia <xenia.fischer@stackable.tech>
1 parent d227578 commit 91d0a20

File tree

15 files changed

+37
-32
lines changed

15 files changed

+37
-32
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@ All notable changes to this project will be documented in this file.
1616
- Run a `containerdebug` process in the background of each Kafka container to collect debugging information ([#803]).
1717
- Aggregate emitted Kubernetes events on the CustomResources ([#809]).
1818

19+
### Changed
20+
21+
- Default to OCI for image metadata and product image selection ([#810]).
22+
1923
[#796]: https://github.com/stackabletech/kafka-operator/pull/796
2024
[#803]: https://github.com/stackabletech/kafka-operator/pull/803
2125
[#809]: https://github.com/stackabletech/kafka-operator/pull/809
26+
[#810]: https://github.com/stackabletech/kafka-operator/pull/810
2227
[#813]: https://github.com/stackabletech/kafka-operator/pull/813
2328

2429
## [24.11.1] - 2025-01-10

Cargo.lock

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

Cargo.nix

Lines changed: 7 additions & 7 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
@@ -23,7 +23,7 @@ serde = { version = "1.0", features = ["derive"] }
2323
serde_json = "1.0"
2424
serde_yaml = "0.9"
2525
snafu = "0.8"
26-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.84.1" }
26+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.85.0" }
2727
strum = { version = "0.26", features = ["derive"] }
2828
tokio = { version = "1.40", features = ["full"] }
2929
tracing = "0.1"

crate-hashes.json

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

deploy/helm/kafka-operator/crds/crds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ spec:
663663
Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.
664664
properties:
665665
custom:
666-
description: Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`
666+
description: Overwrite the docker image. Specify the full docker image name, e.g. `oci.stackable.tech/sdp/superset:1.4.1-stackable2.1.0`
667667
type: string
668668
productVersion:
669669
description: Version of the product, e.g. `1.4.1`.
@@ -690,7 +690,7 @@ spec:
690690
nullable: true
691691
type: array
692692
repo:
693-
description: Name of the docker repo, e.g. `docker.stackable.tech/stackable`
693+
description: Name of the docker repo, e.g. `oci.stackable.tech/sdp`
694694
nullable: true
695695
type: string
696696
stackableVersion:

deploy/helm/kafka-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Default values for kafka-operator.
22
---
33
image:
4-
repository: docker.stackable.tech/stackable/kafka-operator
4+
repository: oci.stackable.tech/sdp/kafka-operator
55
pullPolicy: IfNotPresent
66
pullSecrets: []
77

docs/modules/kafka/pages/reference/environment-variables.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ docker run \
3030
--env KUBECONFIG=/home/stackable/.kube/config \
3131
--env KUBERNETES_CLUSTER_DOMAIN=mycluster.local \
3232
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
33-
docker.stackable.tech/stackable/kafka-operator:latest
33+
oci.stackable.tech/sdp/kafka-operator:0.0.0-dev
3434
----
3535

3636
== PRODUCT_CONFIG
@@ -56,7 +56,7 @@ docker run \
5656
--env KUBECONFIG=/home/stackable/.kube/config \
5757
--env PRODUCT_CONFIG=/my/product/config.yaml \
5858
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
59-
docker.stackable.tech/stackable/kafka-operator:latest
59+
oci.stackable.tech/sdp/kafka-operator:0.0.0-dev
6060
----
6161

6262
== WATCH_NAMESPACE
@@ -85,5 +85,5 @@ docker run \
8585
--env KUBECONFIG=/home/stackable/.kube/config \
8686
--env WATCH_NAMESPACE=test \
8787
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
88-
docker.stackable.tech/stackable/kafka-operator:latest
88+
oci.stackable.tech/sdp/kafka-operator:0.0.0-dev
8989
----

tests/templates/kuttl/kerberos/01-install-krb5-kdc.yaml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
serviceAccountName: test-sa
1616
initContainers:
1717
- name: init
18-
image: docker.stackable.tech/stackable/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
18+
image: oci.stackable.tech/sdp/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
1919
args:
2020
- sh
2121
- -euo
@@ -36,7 +36,7 @@ spec:
3636
name: data
3737
containers:
3838
- name: kdc
39-
image: docker.stackable.tech/stackable/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
39+
image: oci.stackable.tech/sdp/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
4040
args:
4141
- krb5kdc
4242
- -n
@@ -54,7 +54,7 @@ spec:
5454
runAsUser: 0
5555
{% endif %}
5656
- name: kadmind
57-
image: docker.stackable.tech/stackable/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
57+
image: oci.stackable.tech/sdp/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
5858
args:
5959
- kadmind
6060
- -nofork
@@ -72,7 +72,7 @@ spec:
7272
runAsUser: 0
7373
{% endif %}
7474
- name: client
75-
image: docker.stackable.tech/stackable/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
75+
image: oci.stackable.tech/sdp/krb5:{{ test_scenario['values']['krb5'] }}-stackable0.0.0-dev
7676
tty: true
7777
stdin: true
7878
env:

tests/templates/kuttl/kerberos/30-access-kafka.txt.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
serviceAccountName: test-sa
1010
containers:
1111
- name: access-kafka
12-
image: docker.stackable.tech/stackable/kafka:{{ test_scenario['values']['kafka'] }}-stackable0.0.0-dev
12+
image: oci.stackable.tech/sdp/kafka:{{ test_scenario['values']['kafka'] }}-stackable0.0.0-dev
1313
command:
1414
- /bin/bash
1515
- /tmp/script/script.sh

tests/templates/kuttl/logging/05-install-kafka-test-runner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ spec:
1717
spec:
1818
containers:
1919
- name: kafka-test-runner
20-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
20+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2121
stdin: true
2222
tty: true

tests/templates/kuttl/smoke/40-install-test-container.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
spec:
2424
containers:
2525
- name: webhdfs
26-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
26+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2727
stdin: true
2828
tty: true
2929
resources:

tests/templates/kuttl/upgrade/03-write-data.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
{% endif %}
1818
containers:
1919
- name: write-data
20-
image: docker.stackable.tech/stackable/kafka-testing-tools:1.0.0-stackable0.0.0-dev
20+
image: oci.stackable.tech/sdp/kafka-testing-tools:1.0.0-stackable0.0.0-dev
2121
command: [sh, -euo, pipefail, -c]
2222
args:
2323
- |

tests/templates/kuttl/upgrade/05-read-data.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
{% endif %}
1818
containers:
1919
- name: read-data
20-
image: docker.stackable.tech/stackable/kafka-testing-tools:1.0.0-stackable0.0.0-dev
20+
image: oci.stackable.tech/sdp/kafka-testing-tools:1.0.0-stackable0.0.0-dev
2121
command: [sh, -euo, pipefail, -c]
2222
args:
2323
- |

tests/test-definition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ dimensions:
1010
- 3.8.0
1111
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
1212
# as in the example below.
13-
# - 3.8.0,docker.stackable.tech/stackable/kafka:3.8.0-stackable0.0.0-dev
13+
# - 3.8.0,oci.stackable.tech/sdp/kafka:3.8.0-stackable0.0.0-dev
1414
- name: kafka-latest
1515
values:
1616
- 3.7.1 # Using LTS version here
1717
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
1818
# as in the example below.
19-
# - 3.7.1,docker.stackable.tech/stackable/kafka:3.7.1-stackable0.0.0-dev
19+
# - 3.7.1,oci.stackable.tech/sdp/kafka:3.7.1-stackable0.0.0-dev
2020
- name: zookeeper
2121
values:
2222
- 3.9.2

0 commit comments

Comments
 (0)