Configuring assets

Learn about configuring access to NiFi assets.

You can make NiFi assets, such as custom processor JARs, or configuration files available to your NiFi cluster using the assets field. This field allows you to specify a mount path within the NiFi Pods to which the provided pre-existing Persistent Volume Claim (PVC) is mounted. CFM Operator does not provide a method of loading assets into this volume. Using the example below, all files located in the volume associated with my-nifi-assets-volume-claim are accessible at the path /opt/nifi/nifi-assets/ for use within your flow.

spec:
  assets:
    mountPath: “/opt/nifi/nifi-assets”
    persistentVolumeClaim: my-nifi-assets-volume-claim