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
10 changes: 6 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,9 @@ All notable changes to this project will be documented in this file.
- Enable the [restart-controller](https://docs.stackable.tech/home/nightly/commons-operator/restarter/), so that the Pods are automatically restarted on config changes ([#888]).
- Added support for `2.7.2` ([#893]).

### Removed

- Removed support for `1.27.0` and `2.4.0` ([#893]).

### Changed

- 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]).

### Fixed
Expand All @@ -25,12 +22,17 @@ All notable changes to this project will be documented in this file.
- 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]).

### Removed

- Removed support for `1.27.0` and `2.4.0` ([#893]).

[#870]: https://github.com/stackabletech/nifi-operator/pull/870
[#881]: https://github.com/stackabletech/nifi-operator/pull/881
[#884]: https://github.com/stackabletech/nifi-operator/pull/884
[#885]: https://github.com/stackabletech/nifi-operator/pull/885
[#888]: https://github.com/stackabletech/nifi-operator/pull/888
[#893]: https://github.com/stackabletech/nifi-operator/pull/893
[#894]: https://github.com/stackabletech/nifi-operator/pull/894

## [25.11.0] - 2025-11-07

Expand Down
20 changes: 10 additions & 10 deletions Cargo.lock

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

36 changes: 18 additions & 18 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", tag = "stackable-operator-0.102.0", features = ["telemetry", "versioned"] }
stackable-operator = { git = "https://github.com/stackabletech/operator-rs.git", tag = "stackable-operator-0.105.0", features = ["telemetry", "versioned"] }

anyhow = "1.0"
built = { version = "0.8", features = ["chrono", "git2"] }
Expand Down
14 changes: 7 additions & 7 deletions crate-hashes.json

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

15 changes: 4 additions & 11 deletions deploy/helm/nifi-operator/crds/crds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,7 @@ spec:
Since git-sync v4.x.x this field is mapped to the flag `--ref`.
type: string
credentialsSecret:
description: |-
The name of the Secret used to access the repository if it is not public.

The referenced Secret must include two fields: `user` and `password`.
The `password` field can either be an actual password (not recommended) or a GitHub token,
as described in the git-sync [documentation].

[documentation]: https://github.com/kubernetes/git-sync/tree/v4.2.4?tab=readme-ov-file#manual
description: An optional secret used for git access.
nullable: true
type: string
depth:
Expand Down Expand Up @@ -221,7 +214,7 @@ spec:
[example]: https://docs.stackable.tech/home/nightly/airflow/usage-guide/mounting-dags#_example
type: object
repo:
description: 'The git repository URL that will be cloned, for example: `https://github.com/stackabletech/airflow-operator`.'
description: 'The git repository URL that will be cloned, for example: `https://github.com/stackabletech/airflow-operator` or `ssh://git@github.com:stackable-airflow/dags.git`.'
format: uri
type: string
wait:
Expand Down Expand Up @@ -996,7 +989,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down Expand Up @@ -1596,7 +1589,7 @@ spec:
default: {}
description: |-
In the `podOverrides` property you can define a
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.27/#podtemplatespec-v1-core)
[PodTemplateSpec](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.34/#podtemplatespec-v1-core)
to override any property that can be set on a Kubernetes Pod.
Read the
[Pod overrides documentation](https://docs.stackable.tech/home/nightly/concepts/overrides#pod-overrides)
Expand Down
9 changes: 7 additions & 2 deletions rust/operator-binary/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ use stackable_operator::{
logging::controller::report_controller_reconciled,
shared::yaml::SerializeOptions,
telemetry::Tracing,
utils::signal::SignalWatcher,
};

use crate::{
Expand Down Expand Up @@ -88,9 +89,13 @@ async fn main() -> anyhow::Result<()> {
description = built_info::PKG_DESCRIPTION
);

// Watches for the SIGTERM signal and sends a signal to all receivers, which gracefully
// shuts down all concurrent tasks below (EoS checker, controller).
let sigterm_watcher = SignalWatcher::sigterm()?;

let eos_checker =
EndOfSupportChecker::new(built_info::BUILT_TIME_UTC, maintenance.end_of_support)?
.run()
.run(sigterm_watcher.handle())
.map(anyhow::Ok);

let product_config = product_config.load(&[
Expand Down Expand Up @@ -133,7 +138,6 @@ async fn main() -> anyhow::Result<()> {
watch_namespace.get_api::<ConfigMap>(&client),
watcher::Config::default(),
)
.shutdown_on_signal()
.watches(
client
.get_api::<DeserializeGuard<auth_core::v1alpha1::AuthenticationClass>>(&()),
Expand All @@ -156,6 +160,7 @@ async fn main() -> anyhow::Result<()> {
.map(|nifi| ObjectRef::from_obj(&*nifi))
},
)
.graceful_shutdown_on(sigterm_watcher.handle())
.run(
controller::reconcile_nifi,
controller::error_policy,
Expand Down
Loading