Adding external files to the NiFi servers

Since Apache NiFi allows executing 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 are added to the NiFi Pods.

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

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