Adding External Files to the NiFi Servers

Since Apache NiFi allows executing pretty much arbitrary workflows depending on which processors are used, it may become necessary to add external files to the pods. These could for example be client certificates used to configure a PollHTTP processor, a keytab to obtain a Kerberos ticket, or similar things.

In order to make these files available the operator allows specifying extra volumes that will be added to the NiFi pods.

spec:
  clusterConfig:
    extraVolumes:
      - name: nifi-client-certs
        secret:
          secretName: nifi-client-certs

All Volumes specified in this section will be made available under /stackable/userdata/{volumename}.