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
125 stars 42 forks source link

Fix single user authentication #288

Closed juldrixx closed 1 year ago

juldrixx commented 1 year ago
Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets -
License Apache 2.0

What's in this PR?

Some fixes in the single user authentication

Why?

The secretKeys field was supposed to be optional with default values. In the end, however, this was not the case, so the default values are not taken into account. When Single User authentication is enabled with the associated authorizer, user and user group creation in NiFi is disabled, so it is necessary to disable these calls when in the associated controllers.

Additional context

Checklist