Skip to content

Commit

Permalink
chore: add oci references, merge templating changes (#671)
Browse files Browse the repository at this point in the history
* remove references to nexus

* re-add nexus actions

* remove changes that will be suppliedm by templating

* replace latest with 0.0.0-dev in harbor

* bump op-rs to 0.85

* minor test def change

* minor test def change II

* changelog

---------

Co-authored-by: Xenia <[email protected]>
  • Loading branch information
adwk67 and xeniape authored Jan 29, 2025
1 parent bb7a337 commit 6eecef5
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 28 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ All notable changes to this project will be documented in this file.

- Removed support for OPA `0.66.0` ([#677]).

### Changed

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

[#666]: https://github.com/stackabletech/opa-operator/pull/666
[#677]: https://github.com/stackabletech/opa-operator/pull/677
[#671]: https://github.com/stackabletech/opa-operator/pull/671
[#675]: https://github.com/stackabletech/opa-operator/pull/675

## [24.11.1] - 2025-01-10
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 @@ -33,7 +33,7 @@ semver = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
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"] }
tar = "0.4"
tokio = { version = "1.40", features = ["full"] }
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/opa-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ spec:
description: The OPA image to use
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 @@ -292,7 +292,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/opa-operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Default values for opa-operator.
---
image:
repository: docker.stackable.tech/stackable/opa-operator
repository: oci.stackable.tech/sdp/opa-operator
pullPolicy: IfNotPresent
pullSecrets: []

Expand Down
6 changes: 3 additions & 3 deletions docs/modules/opa/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/opa-operator:latest
oci.stackable.tech/sdp/opa-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/opa-operator:latest
oci.stackable.tech/sdp/opa-operator:0.0.0-dev
----

== WATCH_NAMESPACE
Expand Down Expand Up @@ -85,7 +85,7 @@ 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/opa-operator:latest
oci.stackable.tech/sdp/opa-operator:0.0.0-dev
----

== OPA_BUNDLE_BUILDER_CLUSTERROLE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
serviceAccountName: test-sa
containers:
- name: test-regorule
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,7 +17,7 @@ spec:
spec:
containers:
- name: test-regorule
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
2 changes: 1 addition & 1 deletion tests/templates/kuttl/logging/03-install-opa.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
spec:
initContainers:
- name: create-opa-log-dir
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
# Create the log directory for the opa container upfront
# to avoid a race condition between the opa and the
# vector container. If the vector container is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ spec:
serviceAccountName: logging-sa
containers:
- name: opa-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
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/20-install-test-regorule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: test-regorule
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
4 changes: 2 additions & 2 deletions tests/test-definition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ dimensions:
- name: opa
values:
# To use a custom image, add a comma and the full name after the product version
# 0.67.1,docker.stackable.tech/stackable/opa:0.67.1-stackable0.0.0-dev
# 0.67.1,oci.stackable.tech/sdp/opa:0.67.1-stackable0.0.0-dev
- 0.67.1
- 1.0.0
- name: opa-latest
values:
# To use a custom image, add a comma and the full name after the product version
# 0.67.1,docker.stackable.tech/stackable/opa:0.67.1-stackable0.0.0-dev
# 0.67.1,oci.stackable.tech/sdp/opa:0.67.1-stackable0.0.0-dev
- 1.0.0
- name: keycloak
values:
Expand Down

0 comments on commit 6eecef5

Please sign in to comment.