Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow NiFi properties to be configured via environment variables #357

Open
mh013370 opened this issue Jan 11, 2024 · 0 comments
Open

Allow NiFi properties to be configured via environment variables #357

mh013370 opened this issue Jan 11, 2024 · 0 comments
Labels
community enhancement New feature or request
Milestone

Comments

@mh013370
Copy link
Member

mh013370 commented Jan 11, 2024

Is your feature request related to a problem?

No

Describe the solution you'd like to see

Provide an alternative way to configure nifi.properties via environment variables instead of needing to supply a nifi.properties file to NiFi. The set of supported environment variables can be found in the collection of scripts here: https://github.com/apache/nifi/tree/main/nifi-docker/dockerhub/sh

Tasks:

  1. Determine if it's possible for nifikop to configure NiFi's properties using only environment variables. If it is, then nifikop can stop maintaining a template of nifi.properties in the code base and rely on the one that ships with NiFi. Users can still override the nifi.properties via the NifiCluster CRD.

  2. Where possible, replace nifikop's overriding of nifi.properties with environment variables. This can be done by nifikop adding environment variables to the Pod specification.

Users may already configure environment variables via the ReadOnlyConfig.AdditionalSharedEnvs configuration, so no changes are needed to enable this.

Describe alternatives you've considered

No response

Additional context

No response

@mh013370 mh013370 added enhancement New feature or request community labels Jan 11, 2024
@mh013370 mh013370 added this to the Release 2.0.0 milestone Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant