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
138 stars 46 forks source link

[nifi-cluster] cluster.nifiProperties.overrideSecretConfig is ignored when configured #462

Closed Nickmman closed 3 weeks ago

Nickmman commented 2 months ago

What steps will reproduce the bug?

What is the expected behavior?

The resulting node config contains the properties mixed in from the override secret

What do you see instead?

The properties in the resulting node config remain unconfigured

Possible solution

No response

NiFiKop version

v1.10.0

Golang version

Whatever is bundled with the container image

Kubernetes version

Client Version: v1.29.1 Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3 Server Version: v1.29.7-gke.1104000

NiFi version

No response

Additional context

I have configured the values based on https://github.com/konpyutaika/nifikop/issues/47#issuecomment-1077539019.

I tried with both nifi.properties and properties as the secret key but neither worked.

Additionally, I tried with both the values for secret override above, as well as the following (per the comment reference to an old repo):

cluster:
  readOnlyConfig:
    nifiProperties:
      overrideSecretConfig:
        name: nifi-config-override
        data: nifi.properties
        namespace: nifi
Nickmman commented 1 month ago

@juldrixx Would you happen to have any insight on this issue?

juldrixx commented 1 month ago

@juldrixx Would you happen to have any insight on this issue?

The feature was implemented in this PR https://github.com/konpyutaika/nifikop/pull/455, but has not yet been released. It is therefore not available in the current helm chart.

Nickmman commented 1 month ago

@juldrixx Would you happen to have any insight on this issue?

The feature was implemented in this PR #455, but has not yet been released. It is therefore not available in the current helm chart.

Ah, I see. Is there an ETA on when the next version will be released with this new feature?