Skip to content

Commit 3a6c018

Browse files
authoredJul 16, 2024··
Add NiFi versions 1.27.0 and 2.0.0-M4 (#639)
* bump versions * use lowercase in reporting task name * bump version in affinity test * fix linter * adapted changelog * fix order * bump 1.26.0 to 1.27.0
1 parent 49cd462 commit 3a6c018

File tree

11 files changed

+34
-29
lines changed

11 files changed

+34
-29
lines changed
 

‎CHANGELOG.md

+8-5
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,10 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7-
### Fixed
8-
9-
- Use [config-utils](https://github.com/stackabletech/config-utils/) for text-replacement of variables in configs.
10-
This fixes escaping problems, especially when you have special characters in your password ([#627]).
11-
127
### Added
138

149
- Support specifying the SecretClass that is used to obtain TLS certificates ([#622]).
10+
- Support for NiFi `1.27.0` and `2.0.0-M4` ([#639]).
1511

1612
### Changed
1713

@@ -22,13 +18,20 @@ All notable changes to this project will be documented in this file.
2218

2319
### Fixed
2420

21+
- Use [config-utils](https://github.com/stackabletech/config-utils/) for text-replacement of variables in configs.
22+
This fixes escaping problems, especially when you have special characters in your password ([#627]).
2523
- Processing of corrupted log events fixed; If errors occur, the error
2624
messages are added to the log event ([#628]).
2725

26+
### Removed
27+
28+
- Removed support for `1.23.2` ([#639]).
29+
2830
[#616]: https://github.com/stackabletech/nifi-operator/pull/616
2931
[#622]: https://github.com/stackabletech/nifi-operator/pull/622
3032
[#627]: https://github.com/stackabletech/nifi-operator/pull/627
3133
[#628]: https://github.com/stackabletech/nifi-operator/pull/628
34+
[#639]: https://github.com/stackabletech/nifi-operator/pull/639
3235
[#641]: https://github.com/stackabletech/nifi-operator/pull/641
3336
[#642]: https://github.com/stackabletech/nifi-operator/pull/642
3437

‎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.25.0
146+
productVersion: 1.27.0
147147
clusterConfig:
148148
authentication:
149149
- authenticationClass: simple-nifi-users

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ metadata:
8181
name: simple-zk
8282
spec:
8383
image:
84-
productVersion: 3.8.3
84+
productVersion: 3.9.2
8585
servers:
8686
roleGroups:
8787
default:
@@ -143,7 +143,7 @@ metadata:
143143
name: simple-nifi
144144
spec:
145145
image:
146-
productVersion: 1.25.0
146+
productVersion: 1.27.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
@@ -19,7 +19,7 @@ The basic Dockerfile below shows how to achieve this:
1919

2020
[source,Dockerfile]
2121
----
22-
FROM docker.stackable.tech/stackable/nifi:1.25.0-stackable0.0.0-dev
22+
FROM docker.stackable.tech/stackable/nifi:1.27.0-stackable0.0.0-dev
2323
COPY /path/to/your/nar.file /stackable/nifi/lib/
2424
----
2525

@@ -29,8 +29,8 @@ You then need to make this image available to your Kubernetes cluster and specif
2929
----
3030
spec:
3131
image:
32-
productVersion: 1.25.0
33-
custom: "docker.company.org/nifi:1.25.0-customprocessor"
32+
productVersion: 1.27.0
33+
custom: "docker.company.org/nifi:1.27.0-customprocessor"
3434
----
3535

3636
Also read the xref:guides:custom-images.adoc[Using customized product images] guide for additional information.
@@ -99,7 +99,7 @@ metadata:
9999
name: simple-nifi
100100
spec:
101101
image:
102-
productVersion: 1.25.0
102+
productVersion: 1.27.0
103103
clusterConfig:
104104
authentication:
105105
- authenticationClass: simple-nifi-admin-user

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ metadata:
1616
name: simple-nifi
1717
spec:
1818
image:
19-
productVersion: 1.25.0
19+
productVersion: 1.27.0
2020
clusterConfig:
2121
zookeeperConfigMapName: simple-nifi-znode # <1>
2222
authentication: # <2>

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

+2-2
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.25.0` to `1.21.0` you'd simply deploy the following CRD.
4+
Continuing the example above, to change the deployed version from `1.27.0` to `1.25.0` you'd simply deploy the following CRD.
55

66
[source,yaml]
77
----
@@ -11,7 +11,7 @@ metadata:
1111
name: simple-nifi
1212
spec:
1313
image:
14-
productVersion: 1.21.0 # <1>
14+
productVersion: 1.25.0 # <1>
1515
clusterConfig:
1616
authentication:
1717
- authenticationClass: simple-nifi-admin-user

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
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+
- 2.0.0-M4 (experimental)
6+
- 1.27.0 (LTS)
57
- 1.25.0
6-
- 1.23.2 (deprecated)
7-
- 1.21.0 (LTS)
8+
- 1.21.0 (deprecated)

‎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.9.1
10+
productVersion: 3.9.2
1111
servers:
1212
roleGroups:
1313
default:
@@ -47,7 +47,7 @@ metadata:
4747
name: simple-nifi
4848
spec:
4949
image:
50-
productVersion: 1.25.0
50+
productVersion: 1.27.0
5151
clusterConfig:
5252
authentication:
5353
- authenticationClass: simple-nifi-admin-user

‎rust/crd/src/affinity.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ mod tests {
4343
name: simple-nifi
4444
spec:
4545
image:
46-
productVersion: 1.23.2
46+
productVersion: 1.27.0
4747
clusterConfig:
4848
authentication:
4949
- authenticationClass: nifi-admin-credentials-simple

‎rust/operator-binary/src/reporting_task/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ fn build_reporting_task_job(
291291
let job_name = format!(
292292
"{}-create-reporting-task-{}",
293293
nifi.name_any(),
294-
product_version.replace('.', "-")
294+
product_version.replace('.', "-").to_ascii_lowercase()
295295
);
296296

297297
let mut pb = PodBuilder::new();

‎tests/test-definition.yaml

+9-8
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,34 @@
66
dimensions:
77
- name: zookeeper
88
values:
9-
- 3.8.3
9+
- 3.8.4
1010
- name: zookeeper-latest
1111
values:
1212
- 3.9.2
1313
- name: nifi
1414
values:
1515
- 1.21.0
16-
- 1.23.2
1716
- 1.25.0
17+
- 1.27.0
18+
- 2.0.0-M4
1819
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
1920
# as in the example below.
20-
# - 1.25.0,docker.stackable.tech/sandbox/nifi:1.25.0-stackable0.0.0-dev
21+
# - 1.27.0,docker.stackable.tech/sandbox/nifi:1.27.0-stackable0.0.0-dev
2122
- name: nifi_old
2223
values:
23-
- 1.21.0
24+
- 1.25.0
2425
- name: nifi_new
2526
values:
26-
- 1.25.0
27+
- 1.27.0
2728
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
2829
# as in the example below.
29-
# - 1.25.0,docker.stackable.tech/sandbox/nifi:1.25.0-stackable0.0.0-dev
30+
# - 1.27.0,docker.stackable.tech/sandbox/nifi:1.27.0-stackable0.0.0-dev
3031
- name: nifi-latest
3132
values:
32-
- 1.25.0
33+
- 1.27.0
3334
# Alternatively, if you want to use a custom image, append a comma and the full image name to the product version
3435
# as in the example below.
35-
# - 1.25.0,docker.stackable.tech/sandbox/nifi:1.25.0-stackable0.0.0-dev
36+
# - 1.27.0,docker.stackable.tech/sandbox/nifi:1.27.0-stackable0.0.0-dev
3637
- name: ldap-use-tls
3738
values:
3839
- "false"

0 commit comments

Comments
 (0)
Please sign in to comment.