nifikop icon indicating copy to clipboard operation
nifikop copied to clipboard

Add ability to attach additional volumes & volumeMounts to NiFi container

Open mh013370 opened this issue 3 years ago • 0 comments

Feature Request

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like to see Add ability to attach additional volumes to the NiFi cluster image to mount arbitrary configs into the pod :

apiVersion: nifi.orange.com/v1alpha1
kind: NifiCluster
metadata:
  name: simplenifi
spec:
  ...
  volumes:
    - name: secret-params-volume
      secret:
        secretName: secret-params
  volumeMounts:
    - mountPath: /params
      name: secret-params-volume
  ...

Describe alternatives you've considered The only possible alternative right now is to re-use the existing node-tmp volume via an init container, but you can't pull arbitrary secrets and/or config maps into it. This feature enables that.

mh013370 avatar Nov 03 '21 15:11 mh013370