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

update PVC annotations when storage config annotations are updated. #336

Closed mh013370 closed 9 months ago

mh013370 commented 9 months ago
Q A
Bug fix? yes
New feature? no
API breaks? no
Deprecations? no
Related tickets fixes #332
License Apache 2.0

What's in this PR?

When storageConfigs.metadata.annotations are updated, nifikop fails to update the annotations for the PVCs it owns. It will only apply them once on creation and then never again. This PR fixes that, so updates are properly reflected.

Why?

It's not possible to update existing PVC annotations.

Checklist