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.
Change in the secret update detection to be based on resourceVersion and not the managedFields.
Why?
In some cases, the managedFields won't be updated if the operation that leads to the secret update is the same as the previous one. It seems to a limitation in some Kubernetes version like 1.21.
So to be compatible with as much as possible Kubernetes version, the logic will be changed to watch the resourceVersion of the different secrets.
What's in this PR?
Change in the secret update detection to be based on
resourceVersion
and not themanagedFields
.Why?
In some cases, the
managedFields
won't be updated if the operation that leads to the secret update is the same as the previous one. It seems to a limitation in some Kubernetes version like 1.21. So to be compatible with as much as possible Kubernetes version, the logic will be changed to watch theresourceVersion
of the different secrets.Checklist