nifikop icon indicating copy to clipboard operation
nifikop copied to clipboard

Modify pod command from manifest

Open tty47 opened this issue 3 years ago • 1 comments

Feature Request

Is your feature request related to a problem? Please describe. It will be great in order to change the command from the manifest due to I need to execute some commands inside the container.

Describe the solution you'd like to see Add an option to check if there is command from the manifest (spec).

Describe alternatives you've considered Doing it with an initcontainer, but it will have to mount the nifi home path.

tty47 avatar Aug 18 '21 13:08 tty47

perhaps NiFiCluster.spec.extraArgs could be added to run additional commands to be added here:

https://github.com/Orange-OpenSource/nifikop/blob/master/pkg/resources/nifi/pod.go#L452

I think it's a straightforward change.

mh013370 avatar Nov 03 '21 16:11 mh013370