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 @@ -14,7 +14,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 ([#906]).
- Bump stackable-operator to 0.108.0 and strum to 0.28 ([#906], [#909]).
- Gracefully shutdown all concurrent tasks by forwarding the SIGTERM signal ([#894]).
- BREAKING: Reworked authorization config to closer match the Apache NiFi internal authorizer interfaces ([#884]).

Expand All @@ -23,6 +23,7 @@ All notable changes to this project will be documented in this file.
- Also listen on the loopback interface so that k8s port-forwards work ([#870]).
- The operator now utilizes the `.spec.clusterConfig.authorization.opa.package` property instead of hard-coding the package name to `nifi` ([#881]).
- An `initialAdminUser` can now be provided for file-based authorization (e.g. LDAP) ([#884]).
- Fix "404 page not found" error for the initial object list ([#909]).

### Removed

Expand All @@ -37,6 +38,7 @@ All notable changes to this project will be documented in this file.
[#894]: https://github.com/stackabletech/nifi-operator/pull/894
[#898]: https://github.com/stackabletech/nifi-operator/pull/898
[#906]: https://github.com/stackabletech/nifi-operator/pull/906
[#909]: https://github.com/stackabletech/nifi-operator/pull/909

## [25.11.0] - 2025-11-07

Expand Down
22 changes: 11 additions & 11 deletions Cargo.lock

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

55 changes: 27 additions & 28 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 @@ -11,7 +11,7 @@ repository = "https://github.com/stackabletech/nifi-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", branch = "kube-pre-3.1.0", features = ["telemetry", "versioned", "webhook"] }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", branch = "kube-pre-3.1.0", features = ["webhook"] }

anyhow = "1.0"
built = { version = "0.8", features = ["chrono", "git2"] }
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/nifi-operator/templates/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ rules:
{{- if .Values.maintenance.customResourceDefinitions.maintain }}
- create
- patch
# Required for startup condition
- list
- watch
{{- end }}
- apiGroups:
- events.k8s.io
Expand Down
11 changes: 8 additions & 3 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::{
ResourceExt,
CustomResourceExt as _, ResourceExt,
core::DeserializeGuard,
runtime::{
Controller,
Expand All @@ -29,7 +29,7 @@ use stackable_operator::{
logging::controller::report_controller_reconciled,
shared::yaml::SerializeOptions,
telemetry::Tracing,
utils::signal::SignalWatcher,
utils::signal::{self, SignalWatcher},
};

use crate::{
Expand Down Expand Up @@ -203,7 +203,12 @@ async fn main() -> anyhow::Result<()> {
)
.map(anyhow::Ok);

futures::try_join!(nifi_controller, eos_checker, webhook_server)?;
let delayed_nifi_controller = async {
signal::crd_established(&client, v1alpha1::NifiCluster::crd_name(), None).await?;
nifi_controller.await
};

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

Expand Down
Loading