Skip to content

Commit

Permalink
chore: add oci references, merge templating changes (#676)
Browse files Browse the repository at this point in the history
* replace nexus references with harbor

* corrected oci folder name

* bump op-rs to 0-85

* changelog

* reverted test defs

---------

Co-authored-by: Xenia <[email protected]>
  • Loading branch information
adwk67 and xeniape authored Jan 30, 2025
1 parent 8e5c481 commit 22af217
Show file tree
Hide file tree
Showing 19 changed files with 38 additions and 33 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ All notable changes to this project will be documented in this file.
- Run a `containerdebug` process in the background of each "druid" container to collect debugging information ([#667]).
- Aggregate emitted Kubernetes events on the CustomResources ([#677]).

### Changed

- Default to OCI for image metadata and product image selection ([#676]).

[#660]: https://github.com/stackabletech/druid-operator/pull/660
[#667]: https://github.com/stackabletech/druid-operator/pull/667
[#676]: https://github.com/stackabletech/druid-operator/pull/676
[#677]: https://github.com/stackabletech/druid-operator/pull/677

## [24.11.1] - 2025-01-09
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions Cargo.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
snafu = "0.8"
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.84.1" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.85.0" }
strum = { version = "0.26", features = ["derive"] }
tokio = { version = "1.40", features = ["full"] }
tracing = "0.1"
Expand Down
6 changes: 3 additions & 3 deletions crate-hashes.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions deploy/helm/druid-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1796,7 +1796,7 @@ spec:
Consult the [Product image selection documentation](https://docs.stackable.tech/home/nightly/concepts/product_image_selection) for details.
properties:
custom:
description: Overwrite the docker image. Specify the full docker image name, e.g. `docker.stackable.tech/stackable/superset:1.4.1-stackable2.1.0`
description: Overwrite the docker image. Specify the full docker image name, e.g. `oci.stackable.tech/sdp/superset:1.4.1-stackable2.1.0`
type: string
productVersion:
description: Version of the product, e.g. `1.4.1`.
Expand All @@ -1823,7 +1823,7 @@ spec:
nullable: true
type: array
repo:
description: Name of the docker repo, e.g. `docker.stackable.tech/stackable`
description: Name of the docker repo, e.g. `oci.stackable.tech/sdp`
nullable: true
type: string
stackableVersion:
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/druid-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default values for druid-operator.
---
image:
repository: docker.stackable.tech/stackable/druid-operator
repository: oci.stackable.tech/sdp/druid-operator
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down
6 changes: 3 additions & 3 deletions docs/modules/druid/pages/reference/environment-variables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ docker run \
--env KUBECONFIG=/home/stackable/.kube/config \
--env KUBERNETES_CLUSTER_DOMAIN=mycluster.local \
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
docker.stackable.tech/stackable/druid-operator:latest
oci.stackable.tech/sdp/druid-operator:0.0.0-dev
----

== PRODUCT_CONFIG
Expand All @@ -56,7 +56,7 @@ docker run \
--env KUBECONFIG=/home/stackable/.kube/config \
--env PRODUCT_CONFIG=/my/product/config.yaml \
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
docker.stackable.tech/stackable/druid-operator:latest
oci.stackable.tech/sdp/druid-operator:0.0.0-dev
----

== WATCH_NAMESPACE
Expand Down Expand Up @@ -85,5 +85,5 @@ docker run \
--env KUBECONFIG=/home/stackable/.kube/config \
--env WATCH_NAMESPACE=test \
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
docker.stackable.tech/stackable/druid-operator:latest
oci.stackable.tech/sdp/druid-operator:0.0.0-dev
----
2 changes: 1 addition & 1 deletion tests/templates/kuttl/authorizer/05-checks-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
terminationGracePeriodSeconds: 1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
terminationGracePeriodSeconds: 1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
terminationGracePeriodSeconds: 1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
terminationGracePeriodSeconds: 1
2 changes: 1 addition & 1 deletion tests/templates/kuttl/ldap/03-install-test-druid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: test-druid
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
terminationGracePeriodSeconds: 1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: druid-test-runner
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
stdin: true
tty: true
terminationGracePeriodSeconds: 1
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ spec:
fsGroup: 1000
containers:
- name: python
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
stdin: true
tty: true
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ spec:
spec:
containers:
- name: checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
terminationGracePeriodSeconds: 1
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/60-checks-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
resources:
requests:
Expand Down
2 changes: 1 addition & 1 deletion tests/templates/kuttl/tls/05-install-checks.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
runAsUser: 0
containers:
- name: druid-checks
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
image: oci.stackable.tech/sdp/testing-tools:0.2.0-stackable0.0.0-dev
command: ["sleep", "infinity"]
env:
- name: DRUID_OIDC
Expand Down
4 changes: 2 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ dimensions:
- 26.0.0
- 30.0.0
# To use a custom image, add a comma and the full name after the product version
# - 28.0.1,docker.stackable.tech/sandbox/druid:28.0.1-stackable0.0.0-dev
# - 30.0.0,oci.stackable.tech/sdp/druid:30.0.0-stackable0.0.0-dev
- name: druid-latest
values:
- 30.0.0
# To use a custom image, add a comma and the full name after the product version
# - 28.0.1,docker.stackable.tech/sandbox/druid:28.0.1-stackable0.0.0-dev
# - 30.0.0,oci.stackable.tech/sdp/druid:30.0.0-stackable0.0.0-dev
- name: zookeeper
values:
- 3.9.2
Expand Down

0 comments on commit 22af217

Please sign in to comment.