Skip to content

Commit 8b51fba

Browse files
xeniapeadwk67
andauthored
chore: add oci references, merge templating changes (#514)
* replace repo urls * bumped op-rs to 0.85, changelog * corrected path to nyc image --------- Co-authored-by: Andrew Kenworthy <[email protected]>
1 parent b01265a commit 8b51fba

File tree

23 files changed

+45
-40
lines changed

23 files changed

+45
-40
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ All notable changes to this project will be documented in this file.
1111
- Run a `containerdebug` process in the background of each Spark container to collect debugging information ([#508]).
1212
- Aggregate emitted Kubernetes events on the CustomResources ([#515]).
1313

14+
### Changed
15+
16+
- Default to OCI for image metadata and product image selection ([#514]).
17+
1418
[#501]: https://github.com/stackabletech/spark-k8s-operator/pull/501
1519
[#508]: https://github.com/stackabletech/spark-k8s-operator/pull/508
20+
[#514]: https://github.com/stackabletech/spark-k8s-operator/pull/514
1621
[#515]: https://github.com/stackabletech/spark-k8s-operator/pull/515
1722

1823
## [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
@@ -22,7 +22,7 @@ serde = { version = "1.0", features = ["derive"] }
2222
serde_json = "1.0"
2323
serde_yaml = "0.9"
2424
snafu = "0.8"
25-
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.84.1" }
25+
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.85.0" }
2626
strum = { version = "0.26", features = ["derive"] }
2727
tokio = { version = "1.39", features = ["full"] }
2828
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/spark-k8s-operator/crds/crds.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,7 @@ spec:
917917
Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.
918918
properties:
919919
custom:
920-
description: Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`
920+
description: Overwrite the docker image. Specify the full docker image name, e.g. `oci.stackable.tech/sdp/superset:1.4.1-stackable2.1.0`
921921
type: string
922922
productVersion:
923923
description: Version of the product, e.g. `1.4.1`.
@@ -944,7 +944,7 @@ spec:
944944
nullable: true
945945
type: array
946946
repo:
947-
description: Name of the docker repo, e.g. `docker.stackable.tech/stackable`
947+
description: Name of the docker repo, e.g. `oci.stackable.tech/sdp`
948948
nullable: true
949949
type: string
950950
stackableVersion:
@@ -1047,7 +1047,7 @@ spec:
10471047
Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.
10481048
properties:
10491049
custom:
1050-
description: Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`
1050+
description: Overwrite the docker image. Specify the full docker image name, e.g. `oci.stackable.tech/sdp/superset:1.4.1-stackable2.1.0`
10511051
type: string
10521052
productVersion:
10531053
description: Version of the product, e.g. `1.4.1`.
@@ -1074,7 +1074,7 @@ spec:
10741074
nullable: true
10751075
type: array
10761076
repo:
1077-
description: Name of the docker repo, e.g. `docker.stackable.tech/stackable`
1077+
description: Name of the docker repo, e.g. `oci.stackable.tech/sdp`
10781078
nullable: true
10791079
type: string
10801080
stackableVersion:

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

docs/modules/spark-k8s/examples/example-sparkapp-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
name: example-sparkapp-image
66
namespace: default
77
spec:
8-
image: docker.stackable.tech/stackable/ny-tlc-report:0.2.0 # <1>
8+
image: oci.stackable.tech/stackable/ny-tlc-report:0.2.0 # <1>
99
sparkImage:
1010
productVersion: 3.5.2
1111
mode: cluster

docs/modules/spark-k8s/pages/reference/environment-variables.adoc

Lines changed: 2 additions & 2 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/spark-k8s-operator:latest
33+
oci.stackable.tech/sdp/spark-k8s-operator:0.0.0-dev
3434
----
3535

3636
== WATCH_NAMESPACE
@@ -59,5 +59,5 @@ docker run \
5959
--env KUBECONFIG=/home/stackable/.kube/config \
6060
--env WATCH_NAMESPACE=test \
6161
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
62-
docker.stackable.tech/stackable/spark-k8s-operator:latest
62+
oci.stackable.tech/sdp/spark-k8s-operator:0.0.0-dev
6363
----

docs/modules/spark-k8s/pages/usage-guide/job-dependencies.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Below is an example of a custom image that includes a JDBC driver:
5858

5959
[source, Dockerfile]
6060
----
61-
FROM docker.stackable.tech/stackable/spark-k8s:3.5.2-stackable24.11.0 # <1>
61+
FROM oci.stackable.tech/sdp/spark-k8s:3.5.2-stackable24.11.0 # <1>
6262
6363
RUN curl --fail -o /stackable/spark/jars/postgresql-42.6.0.jar "https://jdbc.postgresql.org/download/postgresql-42.6.0.jar"
6464
----
@@ -75,7 +75,7 @@ metadata:
7575
name: spark-jdbc
7676
spec:
7777
sparkImage:
78-
custom: "docker.stackable.tech/sandbox/spark-k8s:3.5.2-stackable0.0.0-dev" # <1>
78+
custom: "oci.stackable.tech/sandbox/spark-k8s:3.5.2-stackable0.0.0-dev" # <1>
7979
productVersion: "3.5.2" # <2>
8080
pullPolicy: IfNotPresent # <3>
8181
...

0 commit comments

Comments
 (0)