konpyutaika / nifikop

The NiFiKop NiFi Kubernetes operator makes it easy to run Apache NiFi on Kubernetes. Apache NiFI is a free, open-source solution that support powerful and scalable directed graphs of data routing, transformation, and system mediation logic.
https://konpyutaika.github.io/nifikop/
Apache License 2.0
131 stars 45 forks source link

Unschedule the whole dataflow in case of ParameterContext reference u… #340

Closed juldrixx closed 9 months ago

juldrixx commented 9 months ago

…pdate

Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets -
License Apache 2.0

What's in this PR?

In case of parameter context reference update, the operator will now unschedule the entire dataflow (stop the processors and disable the controller services) instead of just stopping the processors.

Why?

When the parameter context was referenced by a controller service, it was impossible to change the reference because the operator could not detach the parameter context because it was in use.

Checklist