Skip to content

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

Open
@stephbat

Description

@stephbat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions