Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ All notable changes to this project will be documented in this file.

### Changed

- Bump stackable-operator to 0.106.2 and strum to 0.28 ([#810]).
- Bump stackable-operator to 0.108.0 and strum to 0.28 ([#810], [#812]).
- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#804]).
- Introduce `v1alpha2` OpaCluster and mark UIF Entra backend as non-experimental ([#801]).
- Deprecate OPA 1.8.0 ([#797]).
Expand All @@ -24,6 +24,7 @@ All notable changes to this project will be documented in this file.
### Fixed

- Prevent unnecessary warning messages in the OPA logs caused by setting a service for the Prometheus status ([#799]).
- Fix "404 page not found" error for the initial object list ([#812]).

### Removed

Expand All @@ -40,6 +41,7 @@ All notable changes to this project will be documented in this file.
[#804]: https://github.com/stackabletech/opa-operator/pull/804
[#805]: https://github.com/stackabletech/opa-operator/pull/805
[#810]: https://github.com/stackabletech/opa-operator/pull/810
[#812]: https://github.com/stackabletech/opa-operator/pull/812

## [25.11.0] - 2025-11-07

Expand Down
24 changes: 12 additions & 12 deletions Cargo.lock

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

62 changes: 31 additions & 31 deletions Cargo.nix

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

6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ repository = "https://github.com/stackabletech/opa-operator"

[workspace.dependencies]
product-config = { git = "https://github.com/stackabletech/product-config.git", tag = "0.8.0" }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.106.2", features = [
"telemetry",
"versioned",
"webhook",
] }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.108.0", features = ["webhook"] }
krb5 = { git = "https://github.com/stackabletech/krb5-rs.git", tag = "v0.1.0" }

anyhow = "1.0"
Expand Down
18 changes: 9 additions & 9 deletions crate-hashes.json

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

3 changes: 3 additions & 0 deletions deploy/helm/opa-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ rules:
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
- create
- patch
# Required for startup condition
- list
- watch
{{- end }}
- apiGroups:
- events.k8s.io
Expand Down
16 changes: 12 additions & 4 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use stackable_operator::{
core::v1::{ConfigMap, Service},
},
kube::{
Api,
Api, CustomResourceExt as _,
core::DeserializeGuard,
runtime::{
Controller,
Expand All @@ -29,7 +29,10 @@ use stackable_operator::{
namespace::WatchNamespace,
shared::yaml::SerializeOptions,
telemetry::Tracing,
utils::{cluster_info::KubernetesClusterInfo, signal::SignalWatcher},
utils::{
cluster_info::KubernetesClusterInfo,
signal::{self, SignalWatcher},
},
};

use crate::{
Expand Down Expand Up @@ -142,7 +145,7 @@ async fn main() -> anyhow::Result<()> {
.map_err(|err| anyhow!(err).context("failed to run webhook server"));

let controller = create_controller(
client,
client.clone(),
product_config,
watch_namespace,
operator_image.clone(),
Expand All @@ -152,7 +155,12 @@ async fn main() -> anyhow::Result<()> {
)
.map(anyhow::Ok);

futures::try_join!(controller, webhook_server, eos_checker)?;
let delayed_controller = async {
signal::crd_established(&client, v1alpha2::OpaCluster::crd_name(), None).await?;
controller.await
};

futures::try_join!(delayed_controller, webhook_server, eos_checker)?;
}
};

Expand Down
Loading