<p>I have an init container and am running a command in it which takes a ton of parameters so I have something like </p>

<pre><code>command: ['sh', '-c', 'tool input1 input2 output
-action param1 -action param2 -action param3 -action param4 -action param5 -action param6 -action param7 -action param7 -action param8 -action param9 -action param10 ']
</code></pre>

<p>This highly decreases the readability of the command. Is there someway I can improve this like passsing this a a separate array ?</p>

The_Lost_Avatar
<p>You can make command's args as a YAML list:</p>

<pre><code>  initContainers:
  - name: init-container
    image: busybox:1.28
    command: ["/bin/sh","-c"]
    args:
      - -action
      - param1
      - -action
      - param2
    .
    .
    .

</code></pre>
