Skip to content

Commit 52b8346

Browse files
Support nifi 1.25.0 (#571)
* Merge branch 'main' of https://github.com/stackabletech/nifi-operator into main * adapted changelog * bump vector aggregator * reactoring, add service to reporting task * docs & refactoring * clippy * add jwt error message * adapted changelog * fix linter * Update rust/operator-binary/src/security/tls.rs Co-authored-by: Sebastian Bernauer <[email protected]> * always return a selector or error out * fix linter --------- Co-authored-by: Sebastian Bernauer <[email protected]>
1 parent 4ee8dd4 commit 52b8346

File tree

18 files changed

+593
-260
lines changed

18 files changed

+593
-260
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,16 @@ All notable changes to this project will be documented in this file.
99
- Various documentation of the CRD ([#537]).
1010
- Document support for Apache Iceberg extensions ([#556]).
1111
- Helm: support labels in values.yaml ([#560]).
12+
- Support for NiFi `1.25.0` ([#571]).
13+
14+
### Changed
15+
16+
- A service for a single NiFi node is created for the reporting task to avoid JWT issues ([#571]).
1217

1318
[#537]: https://github.com/stackabletech/nifi-operator/pull/537
1419
[#556]: https://github.com/stackabletech/nifi-operator/pull/556
1520
[#560]: https://github.com/stackabletech/nifi-operator/pull/560
21+
[#571]: https://github.com/stackabletech/nifi-operator/pull/571
1622

1723
## [23.11.0] - 2023-11-24
1824

docs/modules/nifi/examples/getting_started/getting_started.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ metadata:
143143
name: simple-nifi
144144
spec:
145145
image:
146-
productVersion: 1.23.2
146+
productVersion: 1.25.0
147147
clusterConfig:
148148
authentication:
149149
- authenticationClass: simple-nifi-users

docs/modules/nifi/examples/getting_started/getting_started.sh.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ metadata:
143143
name: simple-nifi
144144
spec:
145145
image:
146-
productVersion: 1.23.2
146+
productVersion: 1.25.0
147147
clusterConfig:
148148
authentication:
149149
- authenticationClass: simple-nifi-users

docs/modules/nifi/pages/usage_guide/custom_processors.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A simple Dockerfile would look like show in the following listing.
1818

1919
[source,Dockerfile]
2020
----
21-
FROM docker.stackable.tech/stackable/nifi:1.23.2-stackable0.0.0-dev
21+
FROM docker.stackable.tech/stackable/nifi:1.25.0-stackable0.0.0-dev
2222
COPY /path/to/your/nar.file /stackable/nifi/lib/
2323
----
2424

@@ -28,8 +28,8 @@ You then need to make this image available to your Kubernetes cluster and specif
2828
----
2929
spec:
3030
image:
31-
productVersion: 1.23.2
32-
custom: "docker.company.org/nifi:1.23.2-customprocessor"
31+
productVersion: 1.25.0
32+
custom: "docker.company.org/nifi:1.25.0-customprocessor"
3333
----
3434

3535
== Using the Official Image
@@ -96,7 +96,7 @@ metadata:
9696
name: simple-nifi
9797
spec:
9898
image:
99-
productVersion: 1.23.2
99+
productVersion: 1.25.0
100100
clusterConfig:
101101
authentication:
102102
- authenticationClass: simple-nifi-admin-user

docs/modules/nifi/pages/usage_guide/index.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ metadata:
1313
name: simple-nifi
1414
spec:
1515
image:
16-
productVersion: 1.23.2
16+
productVersion: 1.25.0
1717
clusterConfig:
1818
zookeeperConfigMapName: simple-nifi-znode # <1>
1919
authentication: # <2>

docs/modules/nifi/pages/usage_guide/updating.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Updating NiFi
22

33
Updating (or downgrading for that matter) the deployed version of NiFi is as simple as changing the version stated in the CRD.
4-
Continuing the example above, to change the deployed version from `1.23.2` to `1.21.0` you'd simply deploy the following CRD.
4+
Continuing the example above, to change the deployed version from `1.25.0` to `1.21.0` you'd simply deploy the following CRD.
55

66
[source,yaml]
77
----

docs/modules/nifi/partials/supported-versions.adoc

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
// This is a separate file, since it is used by both the direct NiFi-Operator documentation, and the overarching
33
// Stackable Platform documentation.
44

5-
- 1.23.2
6-
- 1.21.0 (deprecated)
5+
- 1.25.0
6+
- 1.23.2 (deprecated)
7+
- 1.21.0 (LTS)

examples/simple-nifi-cluster.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ metadata:
77
name: simple-zk
88
spec:
99
image:
10-
productVersion: 3.8.3
10+
productVersion: 3.9.1
1111
servers:
1212
roleGroups:
1313
default:
@@ -47,7 +47,7 @@ metadata:
4747
name: simple-nifi
4848
spec:
4949
image:
50-
productVersion: 1.23.2
50+
productVersion: 1.25.0
5151
clusterConfig:
5252
authentication:
5353
- authenticationClass: simple-nifi-admin-user

rust/operator-binary/src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ use stackable_operator::{
2121
use strum::{Display, EnumIter};
2222

2323
use crate::{
24-
authentication::{STACKABLE_SERVER_TLS_DIR, STACKABLE_TLS_STORE_PASSWORD},
2524
operations::graceful_shutdown::graceful_shutdown_config_properties,
25+
security::authentication::{STACKABLE_SERVER_TLS_DIR, STACKABLE_TLS_STORE_PASSWORD},
2626
};
2727

2828
pub const NIFI_CONFIG_DIRECTORY: &str = "/stackable/nifi/conf";

0 commit comments

Comments
 (0)