Skip to content

Commit 702b70f

Browse files
adwk67xeniape
andauthored
chore: add oci references, merge templating changes (#695)
* replace docker references with oci * bump op-rs to 0.85 * changelog * revert test defs --------- Co-authored-by: Xenia <xeniafischer@hotmail.de>
1 parent 1276553 commit 702b70f

File tree

14 files changed

+30
-28
lines changed

14 files changed

+30
-28
lines changed

CHANGELOG.md

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

1717
- Increased the default temporary secret lifetime for coordinators from 1 day to 15 days.
1818
This is because Trino currently does not offer a HA setup for them, a restart kills all running queries ([#694]).
19+
- Default to OCI for image metadata and product image selection ([#695]).
1920

2021
[#676]: https://github.com/stackabletech/trino-operator/pull/676
2122
[#677]: https://github.com/stackabletech/trino-operator/pull/677
2223
[#687]: https://github.com/stackabletech/trino-operator/pull/687
2324
[#694]: https://github.com/stackabletech/trino-operator/pull/694
25+
[#695]: https://github.com/stackabletech/trino-operator/pull/695
2426

2527
## [24.11.1] - 2025-01-10
2628

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
@@ -25,7 +25,7 @@ serde = { version = "1.0", features = ["derive"] }
2525
serde_json = "1.0"
2626
serde_yaml = "0.9"
2727
snafu = "0.8"
28-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.84.1" }
28+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.85.0" }
2929
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.7.0" }
3030
strum = { version = "0.26", features = ["derive"] }
3131
tokio = { version = "1.40", features = ["full"] }

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/trino-operator/crds/crds.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ spec:
759759
Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.
760760
properties:
761761
custom:
762-
description: Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`
762+
description: Overwrite the docker image. Specify the full docker image name, e.g. `oci.stackable.tech/sdp/superset:1.4.1-stackable2.1.0`
763763
type: string
764764
productVersion:
765765
description: Version of the product, e.g. `1.4.1`.
@@ -786,7 +786,7 @@ spec:
786786
nullable: true
787787
type: array
788788
repo:
789-
description: Name of the docker repo, e.g. `docker.stackable.tech/stackable`
789+
description: Name of the docker repo, e.g. `oci.stackable.tech/sdp`
790790
nullable: true
791791
type: string
792792
stackableVersion:

deploy/helm/trino-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 trino-operator.
22
---
33
image:
4-
repository: docker.stackable.tech/stackable/trino-operator
4+
repository: oci.stackable.tech/sdp/trino-operator
55
pullPolicy: IfNotPresent
66
pullSecrets: []
77

docs/modules/trino/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/trino-operator:latest
33+
oci.stackable.tech/sdp/trino-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/trino-operator:latest
59+
oci.stackable.tech/sdp/trino-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/trino-operator:latest
88+
oci.stackable.tech/sdp/trino-operator:0.0.0-dev
8989
----

tests/templates/kuttl/authentication/05-install-test-trino.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
{% endif %}
2323
containers:
2424
- name: test-trino
25-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
25+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2626
command: ["sleep", "infinity"]
2727
volumeMounts:
2828
- name: tls

tests/templates/kuttl/logging/04-install-trino-test-runner.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ spec:
1818
serviceAccount: integration-tests-sa
1919
containers:
2020
- name: trino-test-runner
21-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
21+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2222
stdin: true
2323
tty: true

tests/templates/kuttl/opa-authorization/30-install-opa-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
serviceAccount: integration-tests-sa
1919
containers:
2020
- name: trino-test-opa
21-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
21+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2222
command: ["sleep", "infinity"]
2323
resources:
2424
requests:

tests/templates/kuttl/smoke/20-install-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spec:
1818
serviceAccount: integration-tests-sa
1919
containers:
2020
- name: trino-test-helper
21-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
21+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2222
command: ["sleep", "infinity"]
2323
resources:
2424
requests:

tests/templates/kuttl/tls/20-install-check.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
fsGroup: 1000
2323
containers:
2424
- name: trino-test-helper
25-
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
25+
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
2626
command: ["sleep", "infinity"]
2727
{% if test_scenario['values']['use-tls'] == 'true' %}
2828
volumeMounts:

tests/test-definition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ dimensions:
1616
- "451"
1717
- "455"
1818
# To use a custom image, add a comma and the full name after the product version
19-
# - 455,docker.stackable.tech/stackable/trino:455-stackable0.0.0-dev
19+
# - 455,oci.stackable.tech/sdp/trino:455-stackable0.0.0-dev
2020
- name: trino-latest
2121
values:
2222
- "455"
2323
# To use a custom image, add a comma and the full name after the product version
24-
# - 455,docker.stackable.tech/stackable/trino:455-stackable0.0.0-dev
24+
# - 455,oci.stackable.tech/sdp/trino:455-stackable0.0.0-dev
2525
- name: hive
2626
values:
2727
- 3.1.3

0 commit comments

Comments
 (0)