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

nifi-registry helm chart : flowPersistenceProvider not set to DatabaseFlowPersistenceProvider #252

Open
stephbat opened this issue Jul 12, 2023 · 0 comments

Comments

@stephbat
Copy link

stephbat commented Jul 12, 2023

Hello

I'm using the helm chart nifi-registry version 1.1.4, and it seems that when I deploy it with the following custom values, the flowPersistenceProvider in the file conf/providers.xml, is not set to org.apache.nifi.registry.provider.flow.DatabaseFlowPersistenceProvider, but to the default value org.apache.nifi.registry.provider.flow.FileSystemFlowPersistenceProvider

I'm using the docker image apache/nifi-registry:1.22.0

image:
  repository: apache/nifi-registry
  pullPolicy: IfNotPresent
  tag: "1.22.0"
flowProvider:
  postgres:
    driverClass: org.postgresql.Driver
    driverURL: https://jdbc.postgresql.org/download/
    enabled: true
    fileName: postgresql-42.2.6.jar
    password: ******
    url: jdbc:postgresql://postgresql/nifiregistry
    username: *****
 persistence:
  enabled: false

I think that it's related to the bash script /opt/nifi-registry/scripts/update_flow_provider.sh, that takes into account the env variable NIFI_REGISTRY_FLOW_PROVIDER and the possible values git, file, database. In my case the env variable NIFI_REGISTRY_FLOW_PROVIDER is set to postgres and not to database

Thanks in advance for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant